OU blog

Personal Blogs

neil

the floor...

Visible to anyone in the world

Is covered in sheets of A4. I'm designing my unlimited register machine Object. I think that I have the general idea of where I want to go. The details are fuzzy, as they should be.

The beauty of javascript is that inheritance works a wee bit backwards; it's prototypal. You don't extend an object, you give its ancestors what you want offspring to inherit, kind of. So as I learn more I can add to my original Object without worrying about the chain. This isn't O-O

I can code in an Object-Oriented fashion, I understand the concepts; I can also code in a functional fashion. I still like to javascript, where I can choose either way. I want control in every sense. I see the advantages in both paradigms, I see the weaknesses too.

In the end this is silliness, I'm creating a model, I don't really intend to create a controller or a view.

Funny eh? I know how to do this properly, I have no intentions of doing the right thing, I just want to hack something that works because I'm having fun.

The fact that I've covered the floor in A4 and am worried about what I'm doing is progress.

Of sorts.

Permalink Add your comment
Share post

Comments

New comment

That just about sums up programmers in general, they all know how it should be done but few of them can be bothered.
Tom Capey

New comment

I don't know if it's about not being bothered. We don't always have all the requirements at hand. And something like the URM is a moving target. You're writing a program about a concept about which you have a limited idea at first, limited because you are learning about it through reading the unit. This changes the interfaces, changes what you think a program is, it changes just about everything. So there's a lot of redesign involved.

New comment

I wasn't talking about re-design I was talking about lazy people that take short cuts because they think they know better. I am as guilty as anyone else.