Hacker News new | ask | show | jobs
by shurcooL 2751 days ago
I prefer to use the “5 < x && x < 10” style as well.

I’ve arrived to the same general conclusion independently, which is reassuring.

1 comments

Same with me, although I feel that putting the variable last is a form of Yoda programming. https://en.m.wikipedia.org/wiki/Yoda_conditions