Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by hasley

4 days ago

In cases where I assume that enough test coverage exists, I simplify code that I am currently working on or which I need to read very often.

This way I have already replaced a lot of for-loops by range-based for-loops. It helps me to understand code faster.

But code parts that noone needs to touch or see do not need to be more readable.

0 comments

hasley

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities