Re:Trends in modern programming language syntax
by morpher on Friday May 17, 2013 @10:20AM
(#5724481)
The way it reads is the way it works, which is why it is a nice syntax. Although,it is actually: if (!(x==5)) return;
It does what you think it does :)
return unless x is 5
"reads" like
if( x !== 5 ) return;
but I guess it's more like
return (x !== 5);