2 thoughts on “Thinking about Algol 68

  1. I note that in line 5 of the code above, the real number variable “r” could be a constant, using the identity declaration “REAL r = next random”. Given that this is the case, I would make “r” a constant. However, I can see that you may prefer to make “r” a variable in the code above, since identity declarations would need to be introduced otherwise.

  2. Thanks for your comment, Dave. I really appreciate feedback of any kind!

    After I had written the article and sent it to the site, I debated making this change, but then decided to leave it for a subsequent article.

    In the next article in the series, now in for editing, you will see a number of constants declared.

    Once I have a few more interesting code examples, I plan to return to some of the formalisms in a deeper fashion, among other things to think more about how the concepts of REF, LOC and HEAP can be a bit confusing but need to be understood in order to write good Algol 68 code.

    Again, thanks; much obliged for your interest.

Leave a Reply