PascalABC.net

(pascalabc.net)

47 points | by andsoitis 4 days ago ago

18 comments

  • kbelder 2 days ago ago

    I don't have any burning desire to revisit Pascal, but it might be worth it for a nice RAD IDE that works on Windows and Linux. My brother loved his Delphi programming environment.

    • chungy 2 days ago ago

      Lazarus is mature: https://www.lazarus-ide.org/

      • ctmnt 2 days ago ago

        Sadly, I feel like it’s too mature. If you’re used to contemporary development environments, Lazarus feels like a clunky throwback. I say that with lots of love and respect for the Lazarus team and community. Delphi’s even worse. Working in VSCode is... fine. For such a beautiful language, the ecosystem has really fallen behind the times.

      • giancarlostoro 2 days ago ago

        I like Lazarus but its also stuck in time it feels like. Theres so many improvements and modernizations they could have implemented into Lazarus by now.

        • chungy 2 days ago ago

          What improvements and modernizations do you have in mind?

          • lelanthran 2 days ago ago

            Lsp. Seamless support for external editor/changed files so I can use vim without losing changes. Component for markdown rendering. Theme support so apps can switch between light and dark themes at runtime.

            Honestly theres a lot I miss when I write Lazarus apps.

            • vintagedave a day ago ago

              Try Oxygene. Files are always up to date (you don't even save, if you type, it'll end up on disk, same in reverse if you save with another editor.) Code completion works. IDE supports themes. Most importantly the language is _far_ more modern than Lazarus / FPC.

              It can import Lazarus (and Delphi) projects, but does not have a form designer built in.

              • lelanthran a day ago ago

                I think this response is more than a little unhelpful

                I wanted

                >> Theme support so apps can switch between light and dark themes at runtime.

                You present

                > IDE supports themes.

                You don't see the difference?

                I want to produce apps that decides, at runtime, which theme to use.

                I also don't know if I'd consider it a Lazarus option if

                a) It's a different language, not Delphi

                and

                b) It has no RAD tools.

                After all, if I want niche languages with poor support for RAD, I'm spoilt for choice. What I want is for Lazarus to be updated with some modern features, not replace a well-known RAD tool with a niche, expensive, proprietary and little-known language.

                • vintagedave 4 hours ago ago

                  You're right, I missed that you wanted styles in your app not IDE. I was thinking IDE especially re the designer, so sorry for missing that.

                  It's not intended to be unhelpful, and I hope the rest of what I wrote, which you didn't quote, and which I _think_ from what you wrote is of interest to you, is ok.

              • zeroc8 a day ago ago

                and it costs 749 bucks....

                • vintagedave 4 hours ago ago

                  You're right re commercial. If it's personal use, twenty bucks a month.

      • HexDecOctBin 2 days ago ago

        I wish FreePascal would allow declaring variables anywhere and loop local variables. I just can't program like C89 anymore and without these two basic quality-of-life features, Pascal simply feels stuck in history.

    • giancarlostoro 2 days ago ago

      Now that you dont have to hand write it and can let AI translate your pesudocode into Pascal… well lets just say it could be less painful.

      • sixothree a day ago ago

        Not sure about writing code, but I sure was recently able to interrogate a code base extensively using Claude Code with Serena connected to Lazarus.

    • codr7 2 days ago ago

      Delphi had a good thing going for a while, a ton of potential.

      But they pivoted themselves out of that real fast...

  • dwji0sdf a day ago ago

    Yes, Pascal is really good for educational purposes. The language syntax is very clear and easy to understand in my opinion. I am actually interested to more deeply learn this language, it has many interesting things to learn, though.

  • 2 days ago ago
    [deleted]
  • mast22 2 days ago ago

    Oh yeah, I remember this thing, this is what whole generation of CIS engineers started with. I've solved countless LC style tasks with it and never touched a class or a procedure.