Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paxys
on April 29, 2020
|
parent
|
context
|
favorite
| on:
I could do that in a weekend (2016)
All programming is just if statements. That doesn't mean systems can't be complex.
adrianN
on April 30, 2020
|
next
[–]
If you're creative you can get away without conditional branches:
http://www.jucs.org/jucs_2_11/conditional_branching_is_not/R...
a1369209993
on April 29, 2020
|
prev
[–]
Not true; if the conditional branch goes backward then it's a (possibly do-) while statement. Also subroutine calls.
seisvelas
on April 30, 2020
|
parent
[–]
Counternitpick: Those subrouting calls and while statements are compiled to conditional jmps. If you squint your eyes it's just a fancy 'if'.
zimpenfish
on April 30, 2020
|
root
|
parent
[–]
"It's no use, @a1369209993 - it's IF statements all the way down!"
Apologies to William James' apocryphal quote.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: