Learn Pascal Programming With Lazarus and Free Pascal (First Lesson)

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 55

  • @gammyhorse
    @gammyhorse 9 месяцев назад +25

    Modern Pascal is such an underrated language and it's a pity it doesn't get the attention it deserves. In my opinion, knocks to the ground many so called 'cool' languages, and Lazarus is great also.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +10

      Also, Pascal encourages a very clear and well-structured approach to programming which (in my opinion!) helps to build good programming habits even if you end up using a different language.

    • @GaryChike
      @GaryChike 9 месяцев назад +2

      Almost all new languages use the Wirthian syntax of placing the type annotation after the identifier. So Pascal sort of lives on through all these new languages.
      var num1: Integer; vs C-based languages: Int num1;

    • @bobweiram6321
      @bobweiram6321 9 месяцев назад +3

      If you really want to see an underrated language take a look at Ada. It runs air traffic control systems and rockets. It's as fast and compact than C, while as high level as Pascal. If you know Pascal, you can learn most of it in a week.

    • @GaryChike
      @GaryChike 9 месяцев назад +1

      @@bobweiram6321 Ada is a great language. I've been learning it off and on for the last 3 years. When compared to the likes of C++, Ada is extremely type safe - no implicit conversions allowed.
      For example, this C construct would not pass muster in Ada:
      int num1 = 10;
      int num2 = 3;
      num3 = (float) num1/num2;
      num1 is undergoing explicit casting as where num2 is an implicit conversion.
      Ada requires both be of type 'float':
      num1: Integer := 10;
      num2: Integer := 3;
      num3: Float := float(num1)/float(num1);

    • @gammyhorse
      @gammyhorse 9 месяцев назад

      @@bobweiram6321 Thanks for the info, I'll have a look.

  • @pyroMaximilian
    @pyroMaximilian 9 месяцев назад +6

    I haven't wtitten a single line of Pascal in 25 years. This brought back fond memories of using Borland Turbo Pascal in school. I was partial to C back then for its brevity and flexibility, but 25 years of experience have taught me that a type-safe, verbose language is always a better option!

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +2

      I too use C (and C# and Java) but I agree with you. I still like the clarity and rigour of Pascal.

    • @Flousable
      @Flousable 23 дня назад +1

      This is funny to me since my first actual coding job now in my thirties is 80% turbo pascal 7.0. Been trying to find some guidance online but not much can be found 😂

  • @ChrisPinCornwall
    @ChrisPinCornwall 9 месяцев назад +4

    Brilliant! Just what I wanted. Being a geriatric systems programmer, I wanted to learn a new language and had decided upon Pascal... And lo... Here you are! Thank you so much.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +1

      Glad to help. I'm sure you'll enjoy programming Pascal with Lazarus.

  • @AutMouseLabs
    @AutMouseLabs 9 месяцев назад +2

    A cross platform form maker is cool. I have never used Pascal, but it seems intuitive enough. Looking forward to learning more about this.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +1

      Pascal is a very clear ("readable") language. I'm sure you'll have fun learning it.

  • @Aero_Ibanez
    @Aero_Ibanez 3 месяца назад +2

    Very helpful videos on Pascal and Lazarus! You enabled me to resurrect a large quantity of programming work from 20-30 years ago that I wrote in Borland Turbo Pascal. I lost access to it when my winXP computer died and I transitioned to Linux Mint. I needed to somehow get into OOP , and your videos did that for me. Many thanks!

  • @garyhalsey7693
    @garyhalsey7693 9 месяцев назад +6

    Lazarus doesn’t seem to get much love on RUclips, so well done for creating some tutorials. I’ve been writing Pascal for at least 20+ years, starting with Delphi then moving to Lazarus. I write for both Windows & Linux but have never managed to get it working successfully on my Mac. I would be very grateful if you could do a guide on that at some stage maybe? Looking forward to the next video!

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +3

      Sadly I no longer have a Mac but I'll certainly look at Linux.

    • @garyhalsey7693
      @garyhalsey7693 9 месяцев назад +1

      @@LearnWithHuw I write for Ubuntu/Lubuntu/Raspberry Pi OS, as well as Windows. There are few minor differences but in the whole, the code is identical. If you would like help/ideas for your videos, I’d be glad to help. I have done stuff like system tray apps and Database apps connecting to MariaDB back ends as well. My experience is GUI apps.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +1

      @@garyhalsey7693 If this series generates enough interest I may show various different projects. It's early days yet though, so I need to be sure that people are sufficiently interested. Fingers crossed!

  • @mkaberli614
    @mkaberli614 2 месяца назад

    I started with Pascal many decades ago and I'm glad to have found this source.

  • @flugelberger
    @flugelberger 9 месяцев назад +2

    Huw Collingbourne! Wow - a name familiar from my earliest days of interest in computers. Good to see you still going strong, and promoting this great IDE.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +2

      Ha! You have a long memory! Nice to know you remember!

  • @GaryChike
    @GaryChike 9 месяцев назад +1

    Glad to see a renewed series on Lazarus and FPC. Thank you Huw! Michalis Kamburelis, the creator of Castle Game Engine, is always looking for basic training material for Object Pascal/Lazarus. His tutorials tend to be for more experienced programmers. I'll refer him to this series.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +2

      Thanks. I'll cover the basics of Lazarus and Pascal in the first few lessons. Then I'll move on to looking at cross-platform development.

  • @billb6283
    @billb6283 9 месяцев назад +1

    This is great. I put up a little teaser video about Lazarus on Linux a few weeks ago. I've added a link to your channel in the description. Looking forward to learning more myself by watching your tutorials.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +2

      Keep watching. There are many more videos to come in this series!

  • @YippeePlopFork
    @YippeePlopFork 9 месяцев назад +1

    I am a systems architect in my "day job" (my primary being search and rescue). I haven’t touched Pascal since the late nineties and I am overjoyed to see that it’s thriving again (and open source, with a non proprietary ide!). Thank you Huw for making and sharing these videos!
    How does modern Pascal & Lazarus compare to C++ in terms of multi-threading and overall performance? The last pascal project I worked on professionally, used Delphi and it was a multi-user large-scale administration component. It performed very well (much better than the VB6 predecessor!). Although I ended up working with C and C++, I am going to take a look at the modern version of pascal and get current again because I used to really enjoy programming in pascal. Thanks for renewing my interest in what was one of my favourite languages!

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад

      Thanks for the comment. I'm pleased to discover that so many people are interested in this! I haven't done any benchmarks but in general performance is very good. For multi-threading see here: wiki.freepascal.org/Multithreaded_Application_Tutorial

  • @vladgonzalez3325
    @vladgonzalez3325 9 месяцев назад +1

    thank you for the series on Lazarus

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +1

      I'm glad you like it! Many thanks.

  • @nejathakan5521
    @nejathakan5521 8 дней назад

  • @sigrice
    @sigrice 9 месяцев назад

    Nice, keep making them. It's "read line and write line" FYI

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад

      Never heard it pronounced that way ( in 40 years of Pascal programming! :-) ) Oh, well, you learn something new every day!

    • @GaryChike
      @GaryChike 9 месяцев назад

      @@LearnWithHuw it appears that abbreviated keywords are for the most part pronounced in their 'truncated' form. The Go programmers pronounce 'fmt' "fumpt" and not "format". C++ and Rust will pronounce 'std' 'stood' and not 'standard', etc...

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +2

      @@GaryChike Oh well, "You say tomato and I say tomato". Then again, here in Britain we program Delph-ee. In the USA people program Delph-eye. Somehow we all manage to understand one another! 🙂

    • @GaryChike
      @GaryChike 9 месяцев назад

      @@LearnWithHuw Yes, I was saying that your pronunciation of 'readln' is correct.

  • @LunaticEdit
    @LunaticEdit 9 месяцев назад +1

    I started my career programming in Delphi 7. I know over 20 programming languages now, including all the 'cool kids' ones. For some reason, it's almost impossible to write bad pascal. It's basically the polar opposite of javascript.

    • @LearnWithHuw
      @LearnWithHuw  9 месяцев назад +1

      Pascal was originally developed as a teaching language and it's my belief that it is a much better choice of language for learning good programming practice than most of the languages that are used by colleges these days.

  • @apollosun2913
    @apollosun2913 27 дней назад

    Jeepers Huw, you got old! When we first met, they didn't even HAVE RUclips :)

    • @LearnWithHuw
      @LearnWithHuw  27 дней назад

      When was that?

    • @apollosun2913
      @apollosun2913 26 дней назад

      @@LearnWithHuw Late '90's-early 2000's, when PC Plus had their own NNTP server.

    • @LearnWithHuw
      @LearnWithHuw  26 дней назад

      @@apollosun2913 Dear old PC Puss. I remember bringing my first Pyrenean Mountain Dog (Bran) to make a video for the cover DVD (or was it a mere CD in those days?). It caused something of a sensation, walking him through the corridors of Future Publishing. Good fun, though.

    • @apollosun2913
      @apollosun2913 26 дней назад

      @@LearnWithHuw@LearnWithHuw I seem to remember that there were two versions, both a CD and DVD version. I had a "spirited" talk with Rob Fenwick for sending me the CD version when I subscribed to the DVD version. Ah, the folly of youth. Good times :)

    • @LearnWithHuw
      @LearnWithHuw  26 дней назад

      @@apollosun2913 Before that, of course, there was the floppy disk version. Happy days!

  • @dng88
    @dng88 15 дней назад

    Does not work in macOS. The program can run in terminal but not in Lazarus. It sort of run just nothing prompt you …

  • @NoWar-n4p
    @NoWar-n4p 2 месяца назад

    Паскаль жив? 😧