Further proof that I’m right about Pascal typed variables

Specifically pre-initializing arrays in the const section. Wasn’t even looking for this… honest. But I decided it’s probably best that I teach myself Pascal OOP, rather than listen to an instructor who is not particularly interested in doing things new ways… because it might break his code. So I have this Pascal book in my …

The Udemy Lazarus instructor IS getting annoyed with me

After laying out my case. His response was “You have to remember that since I’ve been programming Pascal since the mid-80s and Delphi since its launch in 94, I have accumulated huge libraries of code, so I am not at all keen on breaking backward compatibility for the sake of incorporating new syntax“. Except it’s …

A disagreement with the Udemy Lazarus instructor

In taking this course the instructor describes using “Typed constants” to pre-initialize arrays. These “constants” can later be changed. Well doesn’t that nullify the meaning of constants? So I took his example and moved the pre-initalized array out of the const section and moved it to the var section. As far as I could tell …