Live data from Hacker News

.NET MAUI: .NET Multi-Platform App UI

github.com

91–100 of 260 posts

Re: .NET MAUI: .NET Multi-Platform App UI

#91
post #44
post #30

I'm an absolute huge fan of all things .NET but I'm honestly a little hesitant about MAUI for now. Just feels a little early and duct-tapped? I also had a poor experience with Xamarin years ago... Flutter is such a good experience for us right now. I'd love "Flutter but in C#" which I think is what they want to do with Xamarin.Forms. Is it ready?

Very early days and not quite "Flutter in C#" but support for C# is on the roadmap https://hydro-sdk.io/

https://github.com/hydro-sdk/hydro-sdk

> "...deliver updates directly to users over the air and out of band."

Whoa. You have my attention.

Re: .NET MAUI: .NET Multi-Platform App UI

#92

Earlier quoted context omitted.

I prefer VB. I have a degree in writing C#, I just find VB vastly preferable to work in. I hesitate to believe Python would exist in the way it does today if Microsoft hadn't treated VB so badly. It's only now being replaced as the default to teach in schools because of its simplicity and readability.

Python was built as an education/learning language first. It's popular because it's often a first language learned, and necessity in education/research space caused a lot of innovation over the years. The only thing I like about VB (.Net) is that it supports XML literal notation... which was crazy useful in the mid-2000's when dealing with Flash (it's own XML literal notation) as a data passing option. I know others…

> Python was built as an education/learning language first. It's popular because it's often a first language learned

That's my point. Colleges have been teaching Visual Basic as a starter programming language for decades. Only in the last handful of years have colleges started switching to teaching Python first... after many years of neglect by Microsoft. My local college still has an entire specialization of their CS degree based on VB.

Python is where it is today because Microsoft has steadily ignored the language that brought new CS students straight into the .NET world.

Re: .NET MAUI: .NET Multi-Platform App UI

#93
post #61

XAML? Ugh. For those of us who worked on wpf for years using xaml and then used react native this feel like someone still in denial at Microsoft. I guess I should be happy my xaml experience is still relevant...

FWIW, this will be supporting Blazor in addition to XAML. So you can have a MAUI app that just handles native hosting etc. and shows your actual UI in a web view.

It's admittedly confusing and not all that well explained.

Re: .NET MAUI: .NET Multi-Platform App UI

#94

Earlier quoted context omitted.

I prefer VB. I have a degree in writing C#, I just find VB vastly preferable to work in. I hesitate to believe Python would exist in the way it does today if Microsoft hadn't treated VB so badly. It's only now being replaced as the default to teach in schools because of its simplicity and readability.

This is very foreign to me, and I'm not a VB hater. I spent a long time working in a codebase that was half C# and half VB.NET, and after a couple years I could switch between the two without thinking. VB has slightly more verbose syntax but that's about it, they're pretty interchangeable. I don't hate `Dim foo As Boolean = True` but I wouldn't say it's more simple and readable than `bool foo = true;`.

It's possible it has a "native language" effect to me. Like how if I want to speak another language, say French, I think what I am trying to say in English and then translate. VB syntax is well solidified in my head as what I am trying to do... and in most cases when working with any other language, I end up going "okay, so how is Select Case formatted in this language?"

I'm not saying VB is the best language, just that it's the one I find the fastest and most comfortable for me to work in.

Re: .NET MAUI: .NET Multi-Platform App UI

#95
post #37

The amount of energy Microsoft is pouring into these front-end efforts is pretty incredible. A more recent development that has me very excited is Blazor Desktop: https://medium.com/young-coder/blazor-desktop-the-electron-f... > This leads to the second difference — in a Blazor Desktop app hosted in WebWindow, there’s no built-in web server. Instead, it’s pure .NET all the way down. And while we haven’t seen exactly…

Isn't asp.net the equivalent of javaee in the microsoft world?

ASP.NET is the name for a wide variety of technologies Microsoft has developed over the years. If we’re talking the current/modern version, the answer’s no.

Re: .NET MAUI: .NET Multi-Platform App UI

#96

Earlier quoted context omitted.

I prefer VB. I have a degree in writing C#, I just find VB vastly preferable to work in. I hesitate to believe Python would exist in the way it does today if Microsoft hadn't treated VB so badly. It's only now being replaced as the default to teach in schools because of its simplicity and readability.

This is very foreign to me, and I'm not a VB hater. I spent a long time working in a codebase that was half C# and half VB.NET, and after a couple years I could switch between the two without thinking. VB has slightly more verbose syntax but that's about it, they're pretty interchangeable. I don't hate `Dim foo As Boolean = True` but I wouldn't say it's more simple and readable than `bool foo = true;`.

I did the same, but based on the code style we used, more like `Dim foo = True` vs `var foo = true;`

Honestly, because of how much VisualStudio auto-completes code, the biggest practical difference that cause me grief was semi-colons: spend a day working in one language, and spend the next day constantly getting the other language wrong.

I remember back in maybe C#5 days there were somethings that I thought VB was nicer for (though I can't remember or find what they were now), but spending the last years working with modern versions (C#7.3 or C#8) there's nothing at all I miss from VB.

Re: .NET MAUI: .NET Multi-Platform App UI

#99

Earlier quoted context omitted.

Even if they implement one, it will lag, and eventually break.

Not sure on that one... It will depend a lot on community support, getting over the first speedbump is the hardest part... if it gets built, I think it may become well (enough) maintained. Of course, then the question(s) are what toolkits will this ride over for the platform. It's hard enough getting tray icons working consistently in Linux apps as it is, for example.

[deleted]

Re: .NET MAUI: .NET Multi-Platform App UI

#100
post #21
post #2

Any direct experiences using this? I've been looking for a good multiplatform UI for desktop that does Mac/Linux/Windows. Mobile is a nice side benefit. It would be nice to use C# again No, I'm not interested in Electron. Blegh.

IMO, Tk is by far the best for targeting multiplatform desktop. Qt is a close second and Gtk is "sticks out like a sore thumb, but works" I don't think Tk runs on iOS, which is why Tk is usually disqualified in "multiplatform" recommendations MAUI and Xamarin.Forms both have "okay" linux support last time I checked.

To put the question a bit more nicely than my sibling, don't Tk apps all look... really bad? I don't know if I've ever seen a Tk app that tried to mimic native widgets at all.

For example, the most prominent Tk application I'm aware of looks like this on Windows: https://upload.wikimedia.org/wikipedia/commons/2/2b/Scid_4.6... On Linux (where I use it), it looks even worse.

While Qt doesn't use real native widgets on all platforms (IIRC), it at least seems to effectively mimic them under most conditions.

Post reply on HN