News for hackers. Stuff that matters.
Re:What can be learned from studying long gone development p... by walshemj on Sunday August 15, 2021 @06:19PM (#28193067)
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.

Re:What can be learned from studying long gone development p... by ufo on Sunday August 15, 2021 @07:31PM (#28193546)
The 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.

Re:What can be learned from studying long gone development p... by ljm on Sunday August 15, 2021 @07:46PM (#28193613)
Looks like arithmetic if is now just a comparator operator, like `<=>`.