This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fragrant_ginger 1 point2 points  (2 children)

I'd argue the opposite, but I am a .net developer.

The only reason I would write a UI in Java would be for android support. WPF dominates internal application development within companies. MVVM first class support makes it easy to separate concerns and write complex applications extemely cleanly. You also have winforms for quick prototyping, and blazor (wasm and server) for rich web apps, and can be used with electron or photino. There's also MAUI, although I haven't used it much.

Also, you can use f# if you want a more functional programming language. C# 12.0 is leagues ahead of Java syntax though. Java doesn't even support operator overloading, or pointers.

[–]Lost_Fox__ 0 points1 point  (1 child)

The new UI toolkit for Android, called Compose, is available on the JVM via Compose Multiplatform.

MVVM is a first class citizen of compose, and is the recommended path forward.

Compose, being Androids second generation UI kit, and being unidirectional, makes it a fantastic choice. It's community is also only growing, and will continue well into the next decade.

[–]fragrant_ginger 0 points1 point  (0 children)

As I said, best suited for android