Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ternary Operator

Name: Anonymous 2010-01-08 8:07

ALL HAIL!

Name: Anonymous 2010-04-21 9:19

>>82
Perl has a lovely way of solving that. You could also just use nesting.

As much as duplication of facilities is a tiresome path (see Perl), I really think S-expressions should show up in languages that don't strictly need them. The convenience of the ternary op could be unified with regular if/else blocks if done in S-expression form.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List