Live data from Hacker News

Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

mfkl.github.io

61–70 of 72 posts

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#61
post #49

For an outsider going on .NET's website is confusing. For one is .NET 5 the same as dotnet? Let's check out the desktop side: https://dotnet.microsoft.com/apps/desktop I have 4 options, Xamarin, UWP, Winforms, WPF. As non-Windows dev, which option is going to be my best options with the best support in the future? How do these relate to WinUI? Also, what's project Reunion https://docs.microsoft.com/en-us/windows/apps…

I work at a Windows shop, and every time they roll their eyes at the plethora of Javascript frameworks I just bite my tongue and say "mm hmm". We're looking at tech choices for our future UI development, and we have a large .NET codebase pieces of which we would like to share between desktop and mobile. It is so not a straightforward obvious choice.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#62
post #42

It’s nice to see .NET get some coverage now and again. It’s not regarded as the cool kid on the block but it just continues its quiet steady climb in ergonomics and performance year on year. I find c# to be a great language to build very large corporate applications in. I’ve never spotted an instance where something has been rewritten in a different language because c# was lacking in some way. Maybe it’s because the…

At the risk of starting a language flame-war: if I were starting a new company or effort, my default choice would be .NET Core. Performance is generally great and if you need to, there are lots of features in the language to allow you to further squeeze performance. C# is easy to pick up and has best-of-breed IDE support- you will get productive quickly. Also, you have an extremely large standard library at your disp…

The documentation is the best feature of the entire platform. If Microsoft hadn't published that deep-dive document regarding Blazor hosting models [1], I probably would have not given the technology a deeper look. But, after reading through and comparing the pros/cons of server-side vs client-side, it made it very clear to me that this was an approach that would be a really good fit for us (we went with the server-side model).

My 2nd favorite feature is Self-Contained Deployments [2]. We skipped the whole containerization party because this approach completely obviated our need for such things.

Beyond that, being able to seamlessly transition between imperative & functional members within the same type, pattern matching in switch statements [3], on-going awesomeness of LINQ, etc. Really great stuff to work with.

[1] https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-...

[2] https://docs.microsoft.com/en-us/dotnet/core/deploying/#publ...

[3] https://docs.microsoft.com/en-us/dotnet/csharp/pattern-match...

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#63

Earlier quoted context omitted.

For whatever it's worth, I've been a .NET developer since 2001 when I was finishing up college. I've also dabbled in Java, and some other languages here and there for one-off work and side-work projects. I haven't found anything to match C# & .NET's productivity. I gravitate towards strongly-typed languages which I know excludes a large swath of productive languages. .NET Core is fantastic. I recently bought an M1 Ma…

I was a Linux/Mac only power user until my first role as a software engineer, where my employer was a Windows and .NET shop (the .NET 1.1/2.0/3.5 days). Hadn’t used Windows in years and that was my first exposure to PowerShell, which made me feel a little better about Windows. Grew to greatly appreciate C# and .NET over the years and am now fairly optimistic that Microsoft has made a lasting change after seeing the s…

I was impressed with wsl recently. I had to compile a distribution for an embedded linux board we're going to use. And under wsl it just worked.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#64

Earlier quoted context omitted.

I have a rather dumb question about C#. A skillion years ago I had to do a .NET project and somewhat randomly chose VB.NET as the language over C#. However, I did buy some C# books which I never looked at. Given that the books are now about a decade old, is there any point in keeping them? Has C# changed enough in the years that the language is sufficiently different from what was created in the book that I might as…

A decade ago puts you at .NET Framework 4.0 or so, and C# version 4. A lot has changed since then. While your old books would still be somewhat relevant, you are missing out on a lot of new features in both C# and .NET. Especially since depreciation of .NET Framework and the transition to .NET 5.

That being said, C# 5 code can be retrofitted with most new features simply by listening to the IDE which suggests refactorings to make use of them.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#65
post #41
post #6

Earlier quoted context omitted.

> C# to add loads and loads of syntactic sugar well some is necessary. example: init-only-Setter, was impossible to do before. You could not write the same Code, without it. No matter what you did. using declarations where also necessary to increase readability. and nullable reference types also were important!

You could use an explicit private readonly field and a property getter, or even just a public readonly field. I would argue its only sugar.

It doesn't scale that well, as you need ctor parameters for every property, so API additions may also be breaking changes.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#67
post #45

Earlier quoted context omitted.

For whatever it's worth, I've been a .NET developer since 2001 when I was finishing up college. I've also dabbled in Java, and some other languages here and there for one-off work and side-work projects. I haven't found anything to match C# & .NET's productivity. I gravitate towards strongly-typed languages which I know excludes a large swath of productive languages. .NET Core is fantastic. I recently bought an M1 Ma…

Agree, when it comes to desktop development (WinForms, WPF). But once I saw some Web API stuff, there is just too much of a ceremony and boilerplate, no?

The ceremony and boilerplate got reduced a bit with the newer versions of ASP.NET - you can definitely write clean looking WebAPI code without much ceremony.

The newer idea of middleware pipelines in ASP.NET do a good job of hiding some boilerplate and there are even libraries like Flurl or Polly (which is now officially a part of .NET, itself) that reduce the code you have to write for things like http requests and resilience policies.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#68
post #45

Earlier quoted context omitted.

For whatever it's worth, I've been a .NET developer since 2001 when I was finishing up college. I've also dabbled in Java, and some other languages here and there for one-off work and side-work projects. I haven't found anything to match C# & .NET's productivity. I gravitate towards strongly-typed languages which I know excludes a large swath of productive languages. .NET Core is fantastic. I recently bought an M1 Ma…

Agree, when it comes to desktop development (WinForms, WPF). But once I saw some Web API stuff, there is just too much of a ceremony and boilerplate, no?

When compared to Python or Elixir web frameworks? Yeah, there's more ceremony. To anything else? Not really. Some people don't like heavy and pretty much required usage of dependency injection in .NET world but I never really understood those arguments.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#69
post #41
post #6

Earlier quoted context omitted.

> C# to add loads and loads of syntactic sugar well some is necessary. example: init-only-Setter, was impossible to do before. You could not write the same Code, without it. No matter what you did. using declarations where also necessary to increase readability. and nullable reference types also were important!

You could use an explicit private readonly field and a property getter, or even just a public readonly field. I would argue its only sugar.

Are you referring to the init only setters?

If so, it isn’t just sugar, they added a new hook for it in the internals, rather than just relabelling a technique to accomplish a similar (but not equal) end.

Re: Milestone: Half a million downloads for VideoLAN packages in the .NET ecosystem

#70

Earlier quoted context omitted.

FWIW I keep hearing about F# all the time. From where I sit, there is still a lot of enthusiasm around it. It does not seem dead at all. Is there not a lot of interop between F# and C#/dotnet?

Usage of C# packages from F# is simple and without issues. The other way is a bit more clunky, but frankly, you will not want to write any C# once you are on the F# side. I have been programming in F# full time for the past 7 years and I hope that rumours of its death are greatly exaggerated. Perhaps this comes from a point of view that if something is not growing 10x each year is dead? It's not a JavaScript framewor…

I wonder how much of the "death reports" are also just that F# is one of Microsoft's original successful invites for open source community contribution. It was so successful that some months the majority of Github contributions to F# come from outside of Microsoft and that can appear "dead" for "Microsoft officially supports this" rather than a sign that the project is healthy and seeing a lot of community love.
Post reply on HN