Re:I could do that in a weekend (2016)
by paxys on Wednesday April 29, 2020 @05:18PM
(#23024453)
All programming is just if statements. That doesn't mean systems can't be complex.
[ Parent
| on HN ]
If you're creative you can get away without conditional branches: http://www.jucs.org/jucs_2_11/conditional_branching_is_not/R...
Re:I could do that in a weekend (2016)
by a1369209993 on Wednesday April 29, 2020 @06:29PM
(#23025289)
Not true; if the conditional branch goes backward then it's a (possibly do-) while statement. Also subroutine calls.
Re:I could do that in a weekend (2016)
by seisvelas on Wednesday April 29, 2020 @08:34PM
(#23026264)
Counternitpick: Those subrouting calls and while statements are compiled to conditional jmps. If you squint your eyes it's just a fancy 'if'.
Re:I could do that in a weekend (2016)
by zimpenfish on Thursday April 30, 2020 @01:19AM
(#23027667)
"It's no use, @a1369209993 - it's IF statements all the way down!"
Apologies to William James' apocryphal quote.