Comment

Comment by Peaker

I don't think people tend to write this kind of code, per se.

Rather, it "evolves".

It starts as:

  return foo == null ? error_handler(bar) : foo;
And someone realizes error_handler actually does nothing, so replaces all calls with null, mechanically.
parent Peaker 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton