3 ms·
Computer programs are sequences of operations that happen IF a condition is true or ELSE something else happens. If you don’t like if-else, you’ve misunderstood
by kbrecordzz 2y ago
Computer programs are sequences of operations that happen IF a condition is true or ELSE something else happens. If you don’t like if-else, you’ve misunderstood the whole thing #stopthehate
- cdaringe 2y agoAbsolutely false! It’s a common perspective, but certainly not the only lens to look at it from. Computer programs are hoards electric voltages changing to discrete levels at fixed intervals to create interesting and coordinated effects on surrounding devices. Computer programs are 0-N statements of expressions to evaluate. Theres 2 perspectives completely devoid of “if.”
- kbrecordzz 2y agoI appreciate all perspectives, just remember to not #hate on ones without reason (especially when they correspond closely to what happens on the physical CPU and are both timeless, simple and powerful, like if-else)