3 ms·
In my freshman year, we had to use Pascal. Running on a 60-bit CDC 6600. With punchcards. My only memory of the actual language experience (i.e. besides the ca
by ncmncm 5y ago
In my freshman year, we had to use Pascal. Running on a 60-bit CDC 6600. With punchcards.
My only memory of the actual language experience (i.e. besides the card punch) was being marked down on an assignment for using an implicit conversion that the compiler coded personally by Niklaus Wirth permitted. I had coded it with the explicit conversion, first, and then took it out because the compiler said I didn't need it.
Pascal was better than C in exactly one respect: it used a post-fix pointer dereference operator. C could have defined a unary postfix ->.
C++ could still do that, entirely backward-compatibly, and have it call unary operator*().