3 ms·
Pascal lacks destructors and templates. No dice.
by ncmncm 5y ago
Pascal lacks destructors and templates. No dice.
- pjmlp 5y agoTrue, although in the context of PIC programming hardly matters. For me no dice is being unsafe by default. Thankfully in the context of C++ I could always fix, what from my point of view, are bad defaults regarding bounds checking.
- ncmncm 5y agoPascal is unsafe by default: it allows null pointers, and stale pointers.
- pjmlp 5y agoTrue, but it has a much safer story than C in everything else. C++ was attractive to me in 1993, because it offered me the safety, and modern language features I was used from Turbo Pascal and then some.