I've been learning Python for the past few months and have a good grasp of programming fundamentals like iterations, Booleans, and object-oriented programming. However, I find console interaction quite boring. I've enjoyed using Tkinter, and it has sparked my interest in developing desktop applications. I've heard that C# and JavaScript (with Electron) are solid choices for building real desktop applications, not just web-based ones. I'm not seeking a career in this—just doing it for fun. So, which option should I choose? (Oh, and just to clarify, I'm not ready to dive into C++ yet. Thanks!)
6 Answers
It really depends on what you're aiming to achieve! If you go with C# and WinUI 3, you'll be creating Windows apps that look and operate like standard applications. Using Visual Studio, you can drag and drop UI elements, and writing a basic GUI app could be as short as 20-30 lines of code. On the other hand, with Electron, you're essentially building a web app inside a desktop window. It could be great if you're already comfortable with web development since Electron uses HTML, CSS, and JavaScript. If you want to create both a desktop app and a website, Electron allows you to reuse a lot of your code. However, if you want a setup that feels more like Tkinter, C# with WinUI is probably the way to go, but keep in mind that later, you may need to start fresh if you want to build for other platforms, like Mac or mobile.
Honestly, the world could do without all the Electron apps. I think the choice is clear if we prioritize simplicity.
For your interests, I'd suggest going with JavaScript + Electron along with HTML and CSS. It can be quite intuitive, especially if you're coming from Tkinter. But don't sleep on C#—it has a solid ecosystem for desktop development!
Have you thought about just sticking with Python? Tkinter is a great option for desktop apps, and you can actually integrate it with C# if you want. But for beginners, using Python alone for desktop applications is perfectly fine.
C# is probably your best bet for desktop applications. It’s robust and tailored for that purpose.
If you're leaning towards a lighter alternative to Electron but still want to use a web tech stack, check out Tauri or Neutralino. They might be more beginner-friendly and less resource-heavy than Electron!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically