Wednesday, 2 April 2008

It's not magic

One thing that I find I have to do when dealing with a new technology is come up with a "realistic" mental model of how it works under the covers. It doesn't have to be accurate in the sense of implementation details, but it has to make sense as if you were writing it in pseudo code. If it has a step 2 of ? or involves the word "magic" in your pseudo code, it's not good enough.

Code / config you write in language: assembly, C, java, or ruby, it all comes down to operations for the hardware and the last time I checked there was no read_programmers_mind() function. It's not magic.

There's always a learning stage when picking up a new framework / language. Don't give up, keep working on that mental model. Don't leave step 2 blank.

2 comments:

  1. Well, as Arthur C. Clarke said, "Any sufficiently advanced technology is indistinguishable from magic."

    ReplyDelete