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

I think this is a great example of something that is different for an exceptional developer as opposed to an average one.

A developer like Carmack and likely the teams he works with are able to keep a much larger system in their head at one time than an average developer.

And this is typically why they can write larger functions like that and get away with it.

A less talented developer will be much more likely to introduce bugs near the top of that function over time as they struggle to maintain the entire function in there head.

Sometimes choosing the correct tool has more to do with the craftsman than the craft.




As an average developer I find it much easier to keep the system in head when it's not cut into 10-line-long pieces in random order.

Hiding the complexity doesn't make it irrelevant suddenly. That's how you get code that does the same thing 5 times in 5 different branches of highly nested call tree "just to be sure".


Functions with the correct level of abstraction doesn't hide the complexity - it categorizes it and put names to the different categories.




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

Search: