4 ms·
Originally Fortran only had arithmetic if's And I agree by the 70's spaghetti code with goto's was on the way out - though some early GWBASIC code had some gna
by walshemj 5y ago
Originally Fortran only had arithmetic if's
And I agree by the 70's spaghetti code with goto's was on the way out - though some early GWBASIC code had some gnarly practices.
- ufo 5y agoThe arithmetic if might be one of the best examples of how structured programming has become the new standard. In 1960, it was the only way to do "if" in the most popular programming language that existed at the time. Today, I bet that most programmers haven't even heard of it.
- ljm 5y agoLooks like arithmetic if is now just a comparator operator, like `<=>`.