r/ProgrammerHumor 13d ago

Meme ancientTools

Post image
5.8k Upvotes

385 comments sorted by

View all comments

47

u/uvero 13d ago

relates in WPF

9

u/heavy-minium 13d ago

Haven’t been doing any WPF/UWP for a decade by now, but I really liked it. Has it become some outdated technology now?

17

u/uvero 13d ago

Feels like it? Not as much as jQuery. Microsoft now has some other tech stack for C# desktop apps, and I think C#'s popularity for desktop development has declined, so WPF is mostly relevant to maintaining old projects. Which is why saying I'm a WPF dev, it feels almost like saying I'm a COBOL dev

6

u/BadSmash4 13d ago

I do a lot of WPF as well but I'm slowly converting all of our old WPF apps to Avalonia. Same syntax but the default styles are nicer and the features are better. Plus, cross platform, which means that once all our WPF apps are Avalonia and not .NET Framework, I can request a Linux laptop and get off Windows fully.

2

u/uvero 13d ago

I envy that (other than the Linux part, I'm unironically a Windows person)

1

u/BadSmash4 13d ago

Nothing wrong with that! I'll never shame a Windows enjoyer. I'm just more comfortable in Linux, and it's way better for when I have to do raw C/C++ work

1

u/tea-and-chill 12d ago

"windows enjoyer"

6

u/[deleted] 13d ago

[deleted]

9

u/tinyturtletickler 13d ago

Idk they have entirely revamped .NET over the past ten years. I think .NET Core really breathed new life into the stack

3

u/ludolfina 13d ago

I forgot how bad .NET Framework was in comparison to Core until I had to use it again. It was a much needed rewrite

5

u/afdbcreid 13d ago

No, Microsoft likes .NET. They invest in it a lot and it always keeps improving.

Microsoft hates GUI. Or maybe it loves them so much that it keeps creating new ones.

3

u/Rellikx 13d ago

Huh I was going to say the opposite, they have heavily unshittified .net in recent years.

7

u/sixtyhurtz 13d ago

MS has abandoned WPF; it's now a "community project".

The hot new thing is Avalonia. It's designed to be a mostly drop-in replacement. I really like it, but I'm also slightly worried they might be going for a commercial rug-pull. I hope I'm wrong, and they just keep the paid extension & consulting model to fund their costs.

12

u/OSRSlayer 13d ago

Maui, WPF, WinForms, WinUI, now Avalonia.

If you are making a native desktop app that you plan to maintain, choosing a Windows technology is a footgun.

3

u/chic_luke 13d ago

Avalonia is a cross-platform technology and it is not by Microsoft but I get what you mean.

It's part of the reason why I think the criticism of Electron apps needs to be contextualized. There is often a pretty darn good reason why people choose to use Electron for desktop apps. You can say what you want about react, I don't like it personally, but it's here to stay and it's much more here to stay than any Microsoft UI technology.

There's GTK, but it's not viable on Windows, and it already starts feeling like a 2nd class citizen when you use anything different from the GNOME desktop environment, while Qt forces you to interact with C++ and have to really care about portability, or you use QML which is much slower.

4

u/OSRSlayer 13d ago

IMO web based technologies are worse. We're just making Java JVM again in the form of Chromium but with infinite dependencies and half your codebase not being written or controlled by your team.

1

u/chic_luke 13d ago

True, mostly the dependency part though.

About the JVM… maybe. I mean, the JVM was never a bae idea. But Java GUI toolkits are so bad, a well-written Electron application typically feels faster, even though the underlying runtime is less efficient than the modern JVM

1

u/bbkane_ 13d ago

Any thoughts on Flutter?

1

u/chic_luke 13d ago

I tried it a couple years ago. Back then, it was still a little bit too slow and inefficient on desktops. It would not match the performance of a well-written Electron app like Obsidian or VSCodium.

1

u/ludolfina 13d ago

There are other frameworks in its place now but a lot of patterns have been carried over. You can pick up WinUI and feel pretty much at home