Hacker News new | ask | show | jobs
by Fuhrmanator 601 days ago
As a Mac developer (system 6, 7) in the late 80s, I always wrote in C. But Mac devs couldn't escape Pascal, because the many Mac OS functions (in the ROM) were from Pascal.

You had to differentiate between C and Pascal strings, and you'd better well have declared that Mac OS call-back function in C with the 'pascal' keyword, lest you be shocked when your software crashes and you debug it in MacsBug to find the order of arguments is reversed on the stack! Doh!

In the early 90s I coded lots in Modula 2 (for what it's Wirth) on Solaris, but never got much chance to do Pascal directly.