For the interested, a free Delphi IDE exists (comes with FreePascal compiler): https://www.lazarus-ide.org/
For the interested, a free Delphi IDE exists (comes with FreePascal compiler): https://www.lazarus-ide.org/
Something that lets me draw a window with two number fields and a button that says "return sum", but it's two minutes of work and self-explanatory.
<input id=foo></input>
<input id=bar></input>
<button onclick="sum()">sum</button>
<div id=result></div>
<script>
function sum() {
result.innerText = parseFloat(foo.value) + parseFloat(bar.value);
}
</script>
That's full of "bad practices" but for the use case you're talking about, who cares?https://html.spec.whatwg.org/multipage/form-elements.html#th...
/s
Instead they whip out React and because native browser elements apparently are the devil they add tailwind/material design/bootstrap/whatever on top.
Once you do it that way, the web approach honestly ends up as complex or worse than many of the alternatives...
For example, this is a simple visualizer for different numerical integrators that I wrote in a day or two for a college course: https://scleox.github.io/integrator-visualizer/index.html. The the source code is just one single html file: https://github.com/SCLeoX/integrator-visualizer/blob/master/...
React projects are just as susceptible to that, and "modern" web development is quite frankly a larger maintainability headache due to the dependency hell they bring.
Tcl/Tk would be the most straightforward choice. Even easier than Lazarus. It's not really a native look, but practically nothing is truly native these days.
Maybe hard pressed to call it modern, but WinForms is still my go to for quickly making a UI, at least in Windows.
VCL is still the tried and tested UI framework for Windows only applications though, nothing beats its flexibility.
Basically Win32, Forms, WPF for .NET, Win32/MFC for C++, or web stuff like ASP.NET, possibly with Blazor.
Even though UWP did not went away, and they keep at the N interaction of it with WinAppSDK, I would lose any sleep over it.
Now working in SwiftUI, which is declarative but in a more understandable way, with a View building mechanism behind it that ties things together so that you understand what you're doing a bit better. Not sure I'm explaining that well...
Not good enough at it yet to build anything fast, but I could see that being the case after a few more months with it.
There are plenty of resources and new books being written. You can find a collection at https://learndelphi.org
Java with Swing does still exist and works too.
It's harder (IMO) to "scale" a Tcl/Tk or wxpython project though as there aren't great built-in patterns and especially with wxpython, the API is a bit clunk and boilerplate heavy.
For a bigger project that you don't need to be cross-platform, you can still make a Windows Forms C# project in Visual Studio. It still works pretty well even, although Visual Studio seems to get slower and farther from this use case each year.
As the GP said, FP / Lazarus.