Live data from Hacker News

A guided intro to the Free Pascal language

getlazarus.org

41–50 of 102 posts

Re: A guided intro to the Free Pascal language

#42
post #29

Pascal gets an underserved bad reputation. I am showing my age but Turbo Pascal was (is) great. Extensions from Turbo and Delphi Object Pascal is great as well. I hate the insane pricing Embarcado has imposed on Delphi. They have had cross platform GUIs in Delphi for a long time. Something for some reason other tools struggle and mostly fail to do. I have not been able to "sell" it to clients mostly due to price.

Embarcadero insane pricing of Delphi is the reason I haven't continued beyond my old version Xe2. I guess they are making hay while the sun shines with the locked-in customers.

In these days, Lazarus and FPC are a valid choice instead of Delphi, except when you are doing some heavy component based codes, like organization oriented projects. Plus side is Lazarus can produce a project and UI for almost any OS.

Re: A guided intro to the Free Pascal language

#43

Earlier quoted context omitted.

they just didn't know how to teach back then. they could approach the same math from the other side, by starting to write games. and gradually come to game math. that would be more interesting, and then it would become obvious why one may need some math while programming.

Heh, now you've made me consider an "abstract algebra for kids" tutorial, with data representations for simple games as the overarching conceit. Unfortunately, as a cishumanist, my finite lifetime expectation means I'll leave this project for some other interested party?

HexFlexagons https://en.wikipedia.org/wiki/Flexagon

Angle trisection tools. https://www.instructables.com/The-Tomahawk-an-Angle-Trisecti... First AA proof I learned: Cannot trisect an angle with ruler and compass.

Re: A guided intro to the Free Pascal language

#44

Pascal gets an underserved bad reputation. I am showing my age but Turbo Pascal was (is) great. Extensions from Turbo and Delphi Object Pascal is great as well. I hate the insane pricing Embarcado has imposed on Delphi. They have had cross platform GUIs in Delphi for a long time. Something for some reason other tools struggle and mostly fail to do. I have not been able to "sell" it to clients mostly due to price.

I think this was a reason for C’s success back in the day. If C compilers were a little cheaper and easier to get, then they’d completely take over, long-term. I remember that Pascal was the norm for Mac programming for a time during the late 1980s or so. You could use THINK Pascal (later Symantec) or MPW Pascal. Pretty soon everyone was programming in C and compiling their programs with Metrowerks CodeWarrior.

I think this was a reason for C’s success back in the day.

Nop, more like the other way around in the 80's. Before, there were two reasons: lack of a standard (Pascal was a learning language, not intended for professional use) and the VM fever: very often so-called P-Code systems were the quick and dirty way to have a programming language for a new system. The result was slow, incompatible, cumbersome access to machine resources.

C was always compiled and had a clear standard that included direct memory access. Also UNIX.

But in the 80s, TurboPascal was $50, had everything that C had + an IDE + compiled x100 faster. Later there was a nice text-mode GUI (TurboVision), then Delphi. Microsoft defused it poaching most Borland talent.

Re: A guided intro to the Free Pascal language

#46
When I looked into learning Free Pascal (not that many years ago) it seemed to me like Ada was the more well-developed, actively used language of that sort of heritage.

Have any of you used both languages? What made you stick with Free Pascal instead?

(To be clear, I'm interested in a comparison that goes beyond the price point of the commercial compilers, which is a tired subject at this point.)

Re: A guided intro to the Free Pascal language

#47
post #44

Earlier quoted context omitted.

I think this was a reason for C’s success back in the day. If C compilers were a little cheaper and easier to get, then they’d completely take over, long-term. I remember that Pascal was the norm for Mac programming for a time during the late 1980s or so. You could use THINK Pascal (later Symantec) or MPW Pascal. Pretty soon everyone was programming in C and compiling their programs with Metrowerks CodeWarrior.

I think this was a reason for C’s success back in the day. Nop, more like the other way around in the 80's. Before, there were two reasons: lack of a standard (Pascal was a learning language, not intended for professional use) and the VM fever: very often so-called P-Code systems were the quick and dirty way to have a programming language for a new system. The result was slow, incompatible, cumbersome access to machi…

> lack of a standard (Pascal was a learning language, not intended for professional use)

The parenthetical is correct, what is outside is not; Pascal had a standard (ISO 7185:1983), but the standard lacks features needed for serious use, so Pascal implementations were either standard and hobbled or useful but not interoperable.

Re: A guided intro to the Free Pascal language

#48
post #44

Earlier quoted context omitted.

I think this was a reason for C’s success back in the day. Nop, more like the other way around in the 80's. Before, there were two reasons: lack of a standard (Pascal was a learning language, not intended for professional use) and the VM fever: very often so-called P-Code systems were the quick and dirty way to have a programming language for a new system. The result was slow, incompatible, cumbersome access to machi…

> lack of a standard (Pascal was a learning language, not intended for professional use) The parenthetical is correct, what is outside is not; Pascal had a standard (ISO 7185:1983), but the standard lacks features needed for serious use, so Pascal implementations were either standard and hobbled or useful but not interoperable.

Pascal had a standard (ISO 7185:1983)

Doesn't "1983" tell you something?

I don't mean to snark. Maybe my comment wasn't clear enough. I've talked of two different periods: the first in the seventies, the second in the eighties and later. The starndar was late. By that time, it wasn't needed because the only Pascal that was widely used was Borland's.

Re: A guided intro to the Free Pascal language

#49

Pascal gets an underserved bad reputation. I am showing my age but Turbo Pascal was (is) great. Extensions from Turbo and Delphi Object Pascal is great as well. I hate the insane pricing Embarcado has imposed on Delphi. They have had cross platform GUIs in Delphi for a long time. Something for some reason other tools struggle and mostly fail to do. I have not been able to "sell" it to clients mostly due to price.

[deleted]

Re: A guided intro to the Free Pascal language

#50

Earlier quoted context omitted.

Heh, now you've made me consider an "abstract algebra for kids" tutorial, with data representations for simple games as the overarching conceit. Unfortunately, as a cishumanist, my finite lifetime expectation means I'll leave this project for some other interested party?

HexFlexagons https://en.wikipedia.org/wiki/Flexagon Angle trisection tools. https://www.instructables.com/The-Tomahawk-an-Angle-Trisecti... First AA proof I learned: Cannot trisect an angle with ruler and compass.

Flex Mex: https://www.youtube.com/watch?v=GTwrVAbV56o

> However it is imperfect: for it is not yet delicious.

Post reply on HN