Which Language Should I Use for Desktop App Development: C# or JavaScript + Electron?

0
27
Asked By CuriousCoder123 On

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

Answered By DevNinja42 On

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.

Answered By ElectronHater99 On

Honestly, the world could do without all the Electron apps. I think the choice is clear if we prioritize simplicity.

Answered By CodeSlinger56 On

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!

Answered By PythonFanatic On

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.

Answered By TechieTony On

C# is probably your best bet for desktop applications. It’s robust and tailored for that purpose.

Answered By WebWizard88 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.