Language Dilemma
Posted by Spiritual_Let_4348@reddit | learnprogramming | View on Reddit | 10 comments
I am trying to build a password manager as my projects for portfolio and I don't know which language I should use.
Currently I know: C++, C, Java and some JS,HTML,CSS
I am willing to learn a new language as long at it is used broadly in industry or it will be useful in future.
I want to build a cool GUI and planning to connect my passwords storage to a SQL database. I tried to make it Java before but GUI looks very old style.
Any advice will be much appreciated, thanks very much !
Cock_Broker@reddit
Write it entirely in CSS
Striking_Rate_7390@reddit
use js it's super easy
peterlinddk@reddit
You know that you can change the style, right? If you use JavaFX you can even use CSS styling just as you would with HTML.
Achereto@reddit
You may want to take a look at raylib, a very cool library that also has some UI functions. Raylib is available for a lot of languages, so you can choose one you like and then just use raylib with it.
In case you are not familiar with Immediate Mode UI, I can recommend this introduction explaining the concepts and why it's better than retained mode UI.
ffrkAnonymous@reddit
all of them
BeauloTSM@reddit
You can make it in vanilla HTML/CSS and JavaScript
Spiritual_Let_4348@reddit (OP)
The thing is I am trying to make a desktop application and JS would require electron for that which is resource heavy.
alienith@reddit
Are you saying that based on experience, or what you’ve heard? Electron isn’t that bad and javascript is unavoidable. Also, non-web GUI frameworks are notoriously cumbersome to work with. There’s a reason that electron is everywhere and it’s not because people are lazy.
For a portfolio project I’d do it with electron, and if you hate it you can always redo it in another language/framework.
BeauloTSM@reddit
I don't think a password manager would end up being too much, but there are other options:
Dart + Flutter
C# + WPF
C# + .NET MAUI
C# + WinForms
C# + WinUI
I write a lot of C#
ScholarNo5983@reddit
Since you know C++ then wxWidgets would be one option for the GUI.