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 ahy1

14 hours ago

Optimizations are nice and all. But they should not ever be allowed to change the behaviour of the program, from what is expected by reading the code.

There are good uses for infinite loops.

2 comments

ahy1

Reply

mwkaufma  14 hours ago

The good uses cases for trivial infinite loops is a vanishingly small subset of infinite loops.

  • ahy1  2 hours ago

    It is obviously a subseet. But an important one.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities