News for hackers. Stuff that matters.
Re:Ask HN: What code makes you happy? by mbrock on Friday September 16, 2016 @05:44AM (#12512860)
I really like it when the entrypoint function itself tells the basic story of how the program works.

Too many entrypoints are a combination of verbose boilerplate and obscure setup of "handler managers" and "event factories" and god knows what.

Often I look at a main function and it just seems to kind of start... something... and I have no clear idea of where to look for the code that actually does anything.

There are no comments on this comment yet.