News for hackers. Stuff that matters.
Re:The Forth Methodology of Charles Moore by kragen on Friday July 12, 2024 @07:11AM (#40944476)
in pre-c programming practice it was common to write programming language keywords and variables in all upper case, among other reasons because teletypes and computer character codes often omitted lower case. in prose this rather rebarbative convention serves to distinguish them from natural-language words, much as we often use typewriter typefaces today. it is not intended as shouting, which i think is your reading. the loop we write in c as

    do {
      x();
      y();
    } while (!z());
is written in forth as

    begin x y z until
and that is what the all-caps untils in this text refer to: three nested loops

the thesis of this document is that you get faster results by taking the time up front to think your problem through until you understand it, and throwing away your code and hardware designs is not something to be afraid of

i'm not sure jeff and chuck's results at itv bore this out; hardware kept evolving out from under them too fast, other people's code became more useful (because of shitty hardware, because of the free software movement, because efficiency became less critical, and because of higher-level languages with better reusability), and they ran out of money

but simplifying a problem is still immensely valuable when you can do it. the problem with programming continues to be overcomplicating things

There are no comments on this comment yet.