top | item 7630424

(no title)

rartichoke | 12 years ago

This is the best keynote he's ever given. It boils down to actually writing code and forget memorizing patterns.

That can't be more true.

discuss

order

karmajunkie|12 years ago

headdesk

While we're at it, let's get down to just cooking and forget food science. Never mind how a recipe should be adjusted at altitude. Or what to substitute when the person eating your minimally viable meal has a food allergy to an ingredient. Or what other things go well with your main entree. We're just cooking up things we got out of a can, after all.

Don't learn any patterns. Except the ones DHH wants you to—those are ok. All the rest of them just get in the way of writing software.

(readers may proceed to downvote now.)

rartichoke|12 years ago

He never said don't learn patterns. He said it's not worth spending all your time trying to memorize them before you even write a line of code.

Memorizing about 20 patterns for 3 months before you really write any code is way worse than just hacking together something and improving it because after enough time you know what's wrong.

The "you just know" thing is really powerful. I'm not a professional artist but I just know that if you had a yellow background and you drew something in the foreground with the same yellow code it wouldn't work because you couldn't see it.

When writing shitty code I just know it's bad because I find myself having to copy/paste something 8 times or maybe it's close enough to a copy/paste that it still feels wrong so then I fix it.