News for hackers. Stuff that matters.
Re:Ask HN: Why Are Conditionals Important? by psv1 on Monday August 19, 2019 @06:50PM (#20742494)
To simplify, software (generally) does this:

    input >>> output
By definition the output is conditional on the input, at least if the program works correctly. That's why conditional statements are important - they express the relationship between input and output.

Isn't this really basic stuff? Or am I missing something?

Re:Ask HN: Why Are Conditionals Important? by gshdg on Monday August 19, 2019 @09:25PM (#20743122)
You can have output that’s conditional on the input without having conditional statements.

How is the output of the following not conditional upon the input? Are there any conditional statements in it?

F(x, y) = x + y

Re:Ask HN: Why Are Conditionals Important? by psv1 on Tuesday August 20, 2019 @02:23AM (#20744279)
> You can have output that’s conditional on the input without having conditional statements.

Yes, of course you can.

Re:Ask HN: Why Are Conditionals Important? by q_eng_anon on Monday August 19, 2019 @08:31PM (#20742916)
mind bottling stuff here man thanks