Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Who the heck does even use fucking Pascal in 2019 anyway? Oh, government folks who havn't updated their competition setup in 30 years.
Which version of TP was that? 3.0 only could generate .com programs with 64k limit on code and data, but with later ones, there was an option to define the memory model. You know, that shit with near and far pointers that nobody is using anymore because x86 segmented real mode is a distant (bad) memory from the past. -
@leduyquang753 well that should support more than 64k heap, but you may have to configure the memory model in the project setup.
However, expecting people to even know such relics in 2019 is ridiculous. -
To be honest, taking part to a coding competition without bothering to know or familiarize with the tools you're going to be using doesn't sound like a smart idea.
-
@fasttime You could have read the story more carefully. Who on earth still uses Turbo?
-
Not sure what you mean. Crappy technology is not an excuse for being uninformed. Especially since all other competitiors had to use it, too.
-
qwwerty11446y@fasttime It's like attending a Fortran coding competition (yes, that's still being used in production too), but instead of Fortran 2018 you would expect for current applications you get Fortran '66.
If the information which version is going to be used was not provided, then it's organizers fault not the attendant.
So today, my friend (who is younger) has returned from a programming competition hosted by the district. The language used was Pascal. Before the competition my friend had been pretty confident about his skills of using Free Pascal, but after that, he has been different.
He came back in tears. I asked him what was happening in the computer room.
- Turbo Pascal.
I was stunned for seconds. Who the heck in this 2019 still uses an ancient compiler dated from the 1990s for the DOS operating system? And yet the competition's computers had only it installed. I think nowadays everyone learning Pascal, at the very least, uses Free Pascal as the IDE. I could immediately imagine how restrictive and frustrating was programming on such that thing.
- I couldn't create... dynamic arrays... so I had to declare two 30 000-element arrays (which was required by the problem), but when compiling... it said... the maximum heap size was 64KB.
It wouldn't let me use "exit(result)" (to return a function's result) so I wasted many minutes replacing them with "<function name> := result; exit;".
And many more problems.
Raise your hand if you think this is ridiculous.
rant
turbo pascal
ancient crap