Unofficial Hacker News companion — get notified on comment replies, and more.

What Could Object Pascal Look Like in 2030? (opens external site)

62 points by carteragecat 10 hours ago blogs.remobjects.com 31 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. Pascal (FPC) and Lazarus were some of the first programming tools I learnt (after a variant of BASIC), they were pretty okay!

    Personally, I think it'd could still be something that people sometimes use (especially with AI) if the ecosystem was stronger:

      * some general quality of life improvements in Lazarus (like coming out of the box with the docking support preinstalled instead of multi-window to copy what other tools are working); I actually don't think that VS Code needs to be a super big focus, nothing wrong with a dedicated tool and everything it brings along, especially because it's fast and has the potential to be less sluggish than the JetBrains IDEs, alongside having a very simple project setup for minimal barrier of entry (click & run)
      * support for all of the popular file types: XML, JSON, CSV, YAML, TOML, all of the PDF, DOC/DOCX/ODT, XLS/XLSX/ODS and typical office formats, more or less out of the box
      * connectors for all contemporary DBs, including latest versions of MySQL/MariaDB/PostgreSQL/SQLite, stuff like MongoDB, Redis/Valkey, RabbitMQ/NATS/Kafka and so on
      * strong web development support, both clients and server frameworks (something like Laravel, Spring Boot, Django, Rails, FastAPI and so on), also support for GraphQL and protobuf
      * stronger support for native GUI development, more of whatever lcl was doing: https://en.wikipedia.org/wiki/Lazarus_Component_Library
      * not encumbered in any unnecessary way, like Delphi
    
    I'm not a language designer so others will probably have more to say about it, I just want Pascal (or a distribution with it together with some tooling, like what Lazarus gives you) to be immensely productive and be as batteries included as needed, without needing to look at a crapload of inconsistent 3rd party packages and under-maintained stuff without much presence.

    I guess I'm just describing most of what Go already does, except maybe for mainstream native GUI choices not being as strong as lcl (I just use Wails cause I'm lazy and evil like that). Come to think of it, since Go exists, maybe that's why I haven't reached for Pascal in a long time too.

    Replies (1)
    1. Yeah I feel like Go is sort of in the space where Pascal was. Though I haven't really used it, the vibe I get strikes similarly to what I was learning in High School with Turbo 5 and 6.

      I feel like a lot of Pascal ended up going OO and heavier than it should have been. Go and Odin feel like great languages inspired by Pascal, and hope we see more of that.

      Replies (1)
      1. I get that sense too. As part of researching the talk I read this post [0] and while it's clearly a marketing post, I kept asking myself, this feels like the vibe from old-school Pascal, why isn't this being written about Pascal?

        Our own Oxygene ticks many boxes but it's not as commonly used (yet) as other Pascals. And the same Elements toolchain also compiles Go. So I am thinking, I need to learn Go and get inspired for our Pascal.

        [0] https://developers.googleblog.com/why-go-is-an-ideal-languag...

        Side note: you would not believe the amount of research that went into this talk. Only a fraction made it in. I could have run an entire day's session.