3 ms·
> nearly as easy and pleasant as WinForms with VisualStudio Check out Lazarus: http://lazarus-ide.org http://lazarus-ide.org It is WAY easier than WinForms. W
by badsectoracula 5y ago
> nearly as easy and pleasant as WinForms with VisualStudio
Check out Lazarus: http://lazarus-ide.org http://lazarus-ide.org
It is WAY easier than WinForms. WinForms' VS "integration" feels as if they started with what Delphi 1 could do back in 1995 or so, implemented most of it and then decided that is enough.
Lazarus' GUI tools are way above and beyond anything WinForms can do and the underlying LCL is crossplatform using native widgets wherever possible with backends for Win32, Gtk1/Gtk2/Gtk3 (though Gtk2 might be the best ATM), Qt4/Qt5, Cocoa and a few others (Carbon, fpGUI and some Amiga toolkit).
Here is a video from 3 years ago where i make a simple sliding image puzzle game under Linux using it:
https://www.youtube.com/watch?v=s_01Xhd2EJM https://www.youtube.com/watch?v=s_01Xhd2EJM
Also here is another video from 6 years ago where i make a 2D tilemap editor in Windows:
https://www.youtube.com/watch?v=_3JgeIUo1X0 https://www.youtube.com/watch?v=_3JgeIUo1X0
And another video from ~10 years ago making a doodle app:
https://www.youtube.com/watch?v=nZuddi3zR_0 https://www.youtube.com/watch?v=nZuddi3zR_0
- qwerty456127 5y agoPascal seems a way too vintage programming language (not nearly as handy as C#, let alone C# 5.0) and the IDE's editor isn't nearly as intelligent as that of VisualStudio (let alone with ReSharper). But it indeed seems the only of the kind truly cross-platform. The only close-enough alternative I found on Linux was QtDesigner+Python but it still wasn't that convenient. I adore people who code Lazarus (e.g. Double Commander authors - they have been doing an amazing job with visible progress and persistence all these years) though. Perhaps I'm going to dedicate some time to learn Pascal once, just for this. It would be easier if they had a seamlessly-compatible C++ version at least (like Delphi had).
- badsectoracula 5y agoKeep in mind that Free Pascal is not exactly the same as classic Pascal. The language has a lot of features you'd find in other modern (as much as Java and C# can be called modern nowadays anyway) object oriented languages. Things like classes, interfaces, dynamic message dispatch, properties with getters/setters, for with ranges, dynamic arrays, generics, a rich RTTI (though not as rich as managed languages - yet, it is work in progress - it is rich enough to do things like serialization, etc), etc. As for a C++ version, it would be useful (though i find Free Pascal a better language overall, despite its warts - the only thing i wish it had from C++ was 'const' and slightly more powerful generics, but both aren't that big of an issue and generics are improving anyway) but VERY difficult to do as i wrote some time ago here [0] and here [1] where i went into more details about the language side of things (C++ Builder has extended C++ to allow for Object Pascal-isms because VCL itself is written, like LCL/FCL, in Pascal, which for Borland was possible because they made both the Pascal and the C++ compilers). [0] https://news.ycombinator.com/item?id=15893362 https://news.ycombinator.com/item?id=15893362 [1] https://news.ycombinator.com/item?id=19882489 https://news.ycombinator.com/item?id=19882489 (note that the discussion was originally about using LCL from C++ so i also mention the alternatives - and how not having the rest of the IDE would end up with a worse wxWidgets since LCL isn't really designed to be used purely via code)