Hacker News new | past | comments | ask | show | jobs | submit login

Are you saying you don't need to read or run your code to debug it? You just mull it over and run it in your head?



In the context of the analogy to composing music, yes!

The analogy wasn't the best one, I'm not claiming to be some savant, but absolutely. For a large class of problems, by the time I start typing, I know what I'm going to type.

You can get away with a lot in music that you can't in code. The first example that comes to mind is "ped simile", which means "keep using the pedal in a similar style" without prescribing the exact mechanics. There will be exception for different musical phrases, and the performer will interpret this subjectively. You couldn't ever write code with "logging simile" in your middleware, and expect the computer to subjectively get the logging correct. Computers are much dumber than performers.

A better analogy might have been writing code without ever evaluating it, kinda like you said, and yes. "hammock-driven-development" also comes to mind...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: