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.

  • 5
    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.
  • 3
    @Fast-Nop It was 7.0, the "latest" version.
  • 2
    @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.
  • 0
    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.
  • 1
    @fasttime You could have read the story more carefully. Who on earth still uses Turbo?
  • 1
    Not sure what you mean. Crappy technology is not an excuse for being uninformed. Especially since all other competitiors had to use it, too.
  • 0
    I remember using that at college.

    I was the only one to get an A as I noticed its maths routines was screwed, so had to take that into account.

    My banking simulator didn't end up losing 2% of customers balances due to rounding errors. :-)
  • 1
    @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.
Your Job Suck?
Get a Better Job
Add Comment