Hacker News new | ask | show | jobs
by indubitably 3645 days ago

    Keep your personal quirks out of it

    Don’t personalize your work in ways that would require explanations.

    I like taking advantage of variables to compartmentalize logic.
1 comments

Not the same thing.

Randomly I'm working on some fairly awful code today that has the one redeeming feature that it divided and conquered as described in the article.

It made it fairly trivial to find the exact spot the problem was happening.

At no point reading the code did I think that assigning key values into variables along the way that were named to describe exactly what they represented and then all added up at the end was a personal quirk of the code.

That's a world of difference compared to using the fairly odd:

    if(null != thing)