Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sneak
· 5y ago · 0 comments
I prefer perl's style, which IIRC is also in ruby and coffeescript:
x = 5 x = 4 if condition()
Comments
[–]
rubyist5eva
5y ago
Ruby also has a C-like ternary operator. Many options for people that prefer them :)