r/ProgrammerHumor 2d ago

Meme ancientTools

Post image
5.8k Upvotes

387 comments sorted by

View all comments

45

u/uvero 2d ago

relates in WPF

10

u/heavy-minium 2d 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?

16

u/uvero 2d 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

5

u/BadSmash4 2d 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 2d ago

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

1

u/BadSmash4 2d 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 2d ago

"windows enjoyer"

6

u/the_matthew 2d ago

My hot take is that Microsoft really hates .NET but it caters to just enough of the enterprise segment that they feel obligated to make it look like they support it. The way they slung out WinRT, WPF, and date I even say Silverlight only to hang them out to dry a few years later is my evidence.

I often joke that in government no one ever has been fired for using Microsoft, but man, adopting a new Microsoft technology only to see it get flushed or neglected has real world costs.

7

u/tinyturtletickler 2d 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 2d 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 2d 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.

4

u/Rellikx 2d ago

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

1

u/the_matthew 2d ago

You're probably right I'm coming from the .NET 3.5 era.

I'm glad to hear that because I always liked C#.

6

u/sixtyhurtz 2d 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.

13

u/OSRSlayer 2d 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.

5

u/chic_luke 2d 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 2d 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 2d 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_ 2d ago

Any thoughts on Flutter?

1

u/chic_luke 2d 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 2d 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

4

u/FrozenHaystack 2d ago

I raise WPF, NET Framework, and Delphi.

4

u/bradmatt275 2d ago

If you can believe it our company runs a Payroll system built in Delphi. Its probably the most bloated piece of junk you have seen. But we somehow get paid by it so I cant complain too much.

5

u/dinnerbird 2d ago

I'm a field technician doing laptop installations. All of our programs are Winforms based...they always have this certain "ehh that'll do" kind of look to them

1

u/tekanet 2d ago

I would have accepted the joke if it was WinForms, but while a discrete amount of JS frameworks have been released since jquery, what are your real alternative in the windows desktop environment?

2

u/uvero 2d ago

Yes, there are a few newer alternatives, including ones by Microsoft. And of course, there's always the option of not developing your desktop front end in C#. Even if you need C# for your desktop app, I bet there are quite a few companies that have adopted a stack of C# backend, Electron front end.

1

u/Mountain-Age5580 2d ago

Is it not called WTF?