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

?:

Name: Anonymous 2010-11-27 11:12

How does /prog/ format their nested conditionals? I've been doing this:

foo ? bar :
baz ? quux :
quuux;

What do you find most attractive?

Name: Anonymous 2010-11-27 13:42

EXPERT TERNARY

!a? !b? !c? !d?
  def(): d(): c(): b(): a();

!foo? !baz?
  quuux: quux: bar;

!(hax < anus)? !(hax > anus)?
  0: anus: hax;

Name: Anonymous 2010-11-27 13:46

!a? !b? !c? !d?
  def(): d(): c(): b(): a();

!foo? !baz?
  quuux: quux: bar;

!(hax < anus)? !(hax > anus)?
  0: anus: hax;

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