News for hackers. Stuff that matters.
Re:The Idea of Lisp by heywire on Friday December 16, 2016 @11:12AM (#13194205)
I've always read ternary statements to myself as a question.

  some_condition ? this : that
some_condition? then this, otherwise that

Typing this, I realize how hard it is to explain without speaking it :)

Re:The Idea of Lisp by lawpoop on Friday December 16, 2016 @12:57PM (#13195229)
Is the color red? If so, this; otherwise, that.

It's a little tricky, because in the above, the `if` keyword appears after the question mark.

Is the color red? Yes-- this: no-- that.

Trying to make a parsimonious English sentence while maintaining the syntax elements : P

Re:The Idea of Lisp by kbutler on Friday December 16, 2016 @02:58PM (#13196234)
> some_condition ? this : that

Just read it as:

  IF some_condition THEN this ELSE that