Re:Using the switch(true) pattern in JavaScript
by sneak on Monday April 12, 2021 @07:14PM
(#26786323)
I really miss postfix conditionals from perl/ruby/coffeescript in all of the other languages. (Along with until/unless, which are just while! and if!.)
I asked on the go-nuts mailing list about perhaps including them in go2, but it seems many of the people who replied hate them.
I asked on the go-nuts mailing list about perhaps including them in go2, but it seems many of the people who replied hate them.