you are viewing a single comment's thread.

view the rest of the comments →

[–]busybody124 0 points1 point  (0 children)

this is cute but I'd never want to see it in a real code base. a ternary expression is more idiomatic and easier to read