logoalt Hacker News

Smar10/01/20241 replyview on HN

> print food if tasty?

Ruby is nice.


Replies

zdragnar10/01/2024

Maybe I'm in a minority, but I genuinely dislike conditions placed afterwards.

They feel great to type out when you're in the flow, but coming back and reading them grates on my nerves. Seeing the condition first means I load a logical branch into my mental context. Seeing the condition after means I have to rewrite the context of what I just read to become part of a logical branch, and now the flow of reading is broken.

show 2 replies