News for hackers. Stuff that matters.
Re:Why I use Object Pascal by sizzzzlerz on Tuesday October 17, 2017 @09:36AM (#15490745)
Hopefully, it has changed but, when I was learning Pascal many years ago, an entire program had to be contained within a single file. No separate compilation files and no linker. For all but toy programs, this made for some very long files which, given the state of editors then, made maintenance a real problem.
Re:Why I use Object Pascal by Zablus on Tuesday October 17, 2017 @09:39AM (#15490765)
Programs can be separated into thousands of source files (aka "units") for ages. Maybe your teacher didn't tell you about this to avoid confusion ;-)
Re:Why I use Object Pascal by psykotic on Tuesday October 17, 2017 @09:39AM (#15490764)
UCSD Pascal had separate compilation units (late 1970s). A lot of people from my generation got started with Turbo Pascal and it had units based on UCSD Pascal starting in TP 4.
Re:Why I use Object Pascal by howard941 on Tuesday October 17, 2017 @02:06PM (#15493179)
OMFG this brings back memories, like the promise of a processor that executed p-code. Good times.
Re:Why I use Object Pascal by pjmlp on Tuesday October 17, 2017 @09:38AM (#15490750)
That was only true in toy Pascal compilers.

Any Pascal compiler for production code supported some kind of modules/units.

Re:Why I use Object Pascal by detaro on Tuesday October 17, 2017 @09:38AM (#15490751)
yes, this changed around 30 years ago.