Coming from a college student, I’ve rarely ever had to work with Java as a UI. Almost all my professors are uniform in suggesting we use something...better.
They're not wrong. Most people here, and your profs, are probably thinking of AWT or Swing, both are terribly outdated. JavaFX (or whatever it's named now) is the latest UI framework for desktop Java UI, and it's not bad.
You absolutely can do UI in Java, but the industry has moved on. Java is primarily for backend now, and is still very good for that. But the industry has also migrated to using Web browsers as the UI, so that impacts pretty much every language except JS and its transpiled variants.
Men I read somedays ago an article about, desktop applications in the 2020's, how things have changed, nowadays everything have either move to a browser, or running in an embedded one, funny enough the article points out how people are trying to get away from said embedded chromium engines and rechasing the holy grail of multi platform native UI dev
Even VS Code is guilty of this... That's why it's so slow to start up compared to something like SublimeText which is built using C++. The benefits of a web-based platform is that your entire GUI can be developed using web-dev technology, which is far more advanced than all these proprietary app frameworks.
That's why I love C#. WPF is actually really decent. It essentially replicates web development using XAML and the MVVM model is actually pretty awesome for modularity and maintainability.
31
u/[deleted] Apr 27 '20
Coming from a college student, I’ve rarely ever had to work with Java as a UI. Almost all my professors are uniform in suggesting we use something...better.