Comment

Comment by LandR

> I'm guessing that you two are having a communication problem as it is highly unlikely that a "senior colleague" can't understand simple logic.

I've seen code written by a senior developer who writes

   if some-predicate
      // left blank.
   else
     // do something
   end if
Because it's apparently too hard to work out how to invert logic. It's a pattern I've seen in our code base enough that I've started calling it 'if-meh-else'
parent LandR 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton