Recent

Author Topic: Good online resource to learn pascal?  (Read 2152 times)

cdbc

  • Hero Member
  • *****
  • Posts: 2126
    • http://www.cdbc.dk
Re: Good online resource to learn pascal?
« Reply #15 on: April 30, 2025, 10:27:29 am »
Hi Thaddy
Well, we've established, that you and I don't quite agree on interfaces, be that as it may...
I use the interface-type (com/corba), that, in situ, has the most 'pros' and the least 'cons'!
Sometimes ref-counting can be a bliss =^ and sometimes I really need to control the freeing of said object...
Both types have their merits.
You see, I don't "Preach", everybody can do as they please. I like the choice.
Just my "Nickle's Worth"
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

Thaddy

  • Hero Member
  • *****
  • Posts: 16937
  • Ceterum censeo Trump esse delendam
Re: Good online resource to learn pascal?
« Reply #16 on: April 30, 2025, 06:41:21 pm »
You see, I don't "Preach", everybody can do as they please. I like the choice.
Just my "Nickle's Worth"
Regards Benny
In this case it is the other way around and that is worrying. It puts people on the wrong foot.
CORBA interfaces have a completely different application and what's more: in 2025 nobody is longer aware of them, CORBA has very,very,very limited applicabilty and that is known in the business.
Furthermore, FPC CORBA isn't really CORBA since FPC has no request broker like MIDAS in Delphi. It is basically COM without reference counting.
Intentionally mutilated COM. (A fact, not an opinion, unless you come from Java and Java is garbage collected)

That author does not even know he is using a GUID as a CORBA string and thinks it is a working GUID.....(Well, he should know because I told him so)
He misuses a GIUD in string format - a GUID is a binary format - while CORBA expects just a string, any string.

Evil, but as I wrote everything else in his paper is fine and recommended.

For those arguments, skip the section about interfaces. It will learn you the wrong things. Certainly for people just starting with Pascal.

Point in case: he has a valid niche for using CORBA in his code children, but his is a niche and not mainstream.

Btw: I offered him to rewrite that section in a more unbiased way years ago. He refused. He simply does not understand interfaces and the pro's and con's of both types.

And just like now, I complimented him about the rest.
« Last Edit: April 30, 2025, 07:20:52 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

Jeff Duntemann

  • New Member
  • *
  • Posts: 13
Re: Good online resource to learn pascal?
« Reply #17 on: May 08, 2025, 07:43:12 pm »
I wanted to mention that I just uploaded a new release of my completely free 354-page PDF book, FreePascal from Square One. It's a very gentle introduction to the concepts of programming using FreePascal, and uses Lazarus as the IDE. Someone below posted a link to it on this thread back in April, but I'm having trouble with my ISP hosting that link and am now hosting the book on my WordPress instance where I keep my blog. Here's the URL:

http://www.contrapositivediary.com/wp-content/uploads/2025/05/FreePascalFromSquareOne-5-7-2025.pdf

I talked about it a little on yesterday's blog entry:

https://www.contrapositivediary.com/?p=5399

I do need to add that it doesn't cover OOP, components, or the GUI builder. The example programs run in the text-only console window Lazarus launches when a text-only executable is run.

I'm working on a book starting where this one left off, to cover OOP, components, the GUI builder, event-driven programming, and so on. I'm drawing on portions of my 1996 book The new Delphi 2 Programming Explorer, but most of it is brand-new writing. Not sure when I'll be done. I'm 72 and don't have the volcanic energy I had when I was 50, heh.

--73--

--Jeff Duntemann K7JPD


Jeff Duntemann

  • New Member
  • *
  • Posts: 13
Re: Good online resource to learn pascal?
« Reply #18 on: May 08, 2025, 07:54:01 pm »
Someone wondered if I was associated with DDJ back in the day. I did the "Structured Programming" column for them from 1989-1993. I also was the editor of Borland's Turbo Technix magazine in 1987, and I published PC Techniques starting in 2000, which became Visual Developer in 1996. I also publish on assembly language.

--73--

--JD--

dsiders

  • Hero Member
  • *****
  • Posts: 1403
Re: Good online resource to learn pascal?
« Reply #19 on: May 08, 2025, 08:12:24 pm »
I wanted to mention that I just uploaded a new release of my completely free 354-page PDF book, FreePascal from Square One. It's a very gentle introduction to the concepts of programming using FreePascal, and uses Lazarus as the IDE. Someone below posted a link to it on this thread back in April, but I'm having trouble with my ISP hosting that link and am now hosting the book on my WordPress instance where I keep my blog. Here's the URL:

http://www.contrapositivediary.com/wp-content/uploads/2025/05/FreePascalFromSquareOne-5-7-2025.pdf

I talked about it a little on yesterday's blog entry:

https://www.contrapositivediary.com/?p=5399

I do need to add that it doesn't cover OOP, components, or the GUI builder. The example programs run in the text-only console window Lazarus launches when a text-only executable is run.

I'm working on a book starting where this one left off, to cover OOP, components, the GUI builder, event-driven programming, and so on. I'm drawing on portions of my 1996 book The new Delphi 2 Programming Explorer, but most of it is brand-new writing. Not sure when I'll be done. I'm 72 and don't have the volcanic energy I had when I was 50, heh.

--73--

--Jeff Duntemann K7JPD


Excellent! Thanks for your efforts (past and future).
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018