News for hackers. Stuff that matters.
Re:Ask HN: What code makes you happy? by 3ch1dna on Thursday September 15, 2016 @05:36PM (#12510017)
Narcissism forgiven. That is petty code.

Readable, followable code is definitely on my top sexy list. I want to be able to read it like a story and not have to guess at obscure conventions someone made up to keep their job proprietary.

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.