Why Developers Already Hate .NET 9

2024 ж. 21 Ақп.
70 041 Рет қаралды

Use code MODULAR20 and get 20% off the brand new "Deep Dive into Modular Monoliths" course on Dometrain: dometrain.com/course/deep-div...
Become a Patreon and get special perks: / nickchapsas
Hello, everybody, I'm Nick, and in this video, I will address the criticism of The Vision for .NET 9 blog that was posted by Microsoft a few days ago.
Workshops: bit.ly/nickworkshops
Don't forget to comment, like and subscribe :)
Social Media:
Follow me on GitHub: github.com/Elfocrash
Follow me on Twitter: / nickchapsas
Connect on LinkedIn: / nick-chapsas
Keep coding merch: keepcoding.shop
#csharp #dotnet

Пікірлер
  • If C# developers unite, and if Microsoft laughs at them, we'll have a discriminated union.

    @user-zg7gy6dh2y@user-zg7gy6dh2y2 ай бұрын
    • I really, really hope that will never happen. It defies the purpose of static typed language, just as keyed services defy the purpose of DI

      @Nworthholf@Nworthholf2 ай бұрын
    • @@Nworthholf unless if keyed services are based on dynamically loaded modules, where the module may expect specific keys

      @malisancube01@malisancube012 ай бұрын
    • Java already has it so... maybe they can do it... though not quite in the same fashion i imagine in dotnet

      @Mig440@Mig4402 ай бұрын
    • I wish some of the arrays, imaging, and data manipulation from python would be included.

      @PierreH1968@PierreH19682 ай бұрын
    • I feel like the people here in the comments missed your pun

      @stefanalecu9532@stefanalecu95322 ай бұрын
  • Year 2034, .NET 19 comes out. But we will still maintain vertically scaled .Net Framework 4.7.1 solutions.

    @tvardero@tvardero2 ай бұрын
    • Actually, I should say that most of Azure income is by vertically scaled poop code up to Premium levels. I have worked on a solution with less than 20k users overall, and our team solved performance issues just... by switching to premium 3 tier ... No one in the team has heard of async code. No one has heard of caching and data reusability. No one is updating any package unless it shows up in owasp report. And we are a big company with many projects, all in azure. Just imagine how many other companies do the same.

      @tvardero@tvardero2 ай бұрын
    • Lol 😂 I still maintain .Net FW 4.5

      @miendongthao@miendongthao2 ай бұрын
    • Even I am with 4.5

      @chittadilsay1@chittadilsay12 ай бұрын
  • "F# is a language that exists" 😅

    @marijnfeijten@marijnfeijten2 ай бұрын
    • hopefully it will bring more attention in the future, it is better than scala in FP terms imo too sad microsoft doesn't give it enough love

      @amsalamander7521@amsalamander75212 ай бұрын
    • Does it really?

      @neociber24@neociber242 ай бұрын
    • gold 😆

      @szymonscholz4646@szymonscholz46462 ай бұрын
    • Well... we have DUs ;-) Looooooooong ago

      @GlibVideo@GlibVideo2 ай бұрын
    • I heard a talk recently about F# Myths, and the guy and his team actually adopted F# for production code (for some microservices IIRC), and were happy about it.

      @tymurgubayev4840@tymurgubayev48402 ай бұрын
  • I was on .net framework 4.8, blinked, and now we're on .net 9

    @demarcorr@demarcorr2 ай бұрын
    • and yet your .net framework is supported as long as windows exists and only .net 6+ is supported (for now). :)

      @SpaceShot@SpaceShot2 ай бұрын
    • Blink? Or a coma?

      @T___Brown@T___Brown2 ай бұрын
    • That doesn't even tell the full story. They went back to v1 w/ Core.

      @keyser456@keyser4562 ай бұрын
    • .NET Core was 2016. Sleeping Beauty didn't blink for that long.

      @BittermanAndy@BittermanAndy2 ай бұрын
    • Yep, we've still got a lot of FW4 products to upgrade.

      @nickbarton3191@nickbarton31912 ай бұрын
  • 3 years is laughably short for an LTS. Almost nobody switches to a new LTS within the first year of release, making this effectively a 2 year "long" term support. This time frame needs to be increased to 5 years at a minimum. We're not talking about JavaScript front ends that change with the seasons but enterprise back-end code that will likely last 10 to 15 years, if not longer.

    @TheCzemike@TheCzemikeАй бұрын
  • Dude. When posting a video like this, essentially just breaking down an article, please link the article in the description.

    @tituszban@tituszban2 ай бұрын
    • 3 seconds to google it.

      @swordblaster2596@swordblaster25962 ай бұрын
    • @@swordblaster2596 Shouldn't have to google it!

      @dauchande@dauchande2 ай бұрын
    • @@swordblaster2596still not wrong tho

      @jackieAZ@jackieAZ28 күн бұрын
    • then you wouldn't be forced to watch the video though

      @doltBmB@doltBmB6 күн бұрын
  • Please add all links you visited in the video to the description so it's easily accessible to us as well. Thank you.

    @nikolalukovic2593@nikolalukovic25932 ай бұрын
  • What I really want is "readonly required record struct" and for everything to support these as DTOs everywhere. The perf and memory improvements for APIs and SignalR, GRPC etc. would be significant. And by using required, that says "every property must have a value" which eliminates an entire class of coding issues of accidental nulls, default values being implied, etc. Sadly, SignalR and MassTransit to name 2 don't support structs.

    @jameshancock@jameshancock2 ай бұрын
    • And maybe one day discriminated unions 😢

      @JollyGiant19@JollyGiant192 ай бұрын
    • Do you realize that using structs are DTO means that you'll have to copy the struct everytime you pass it? and passing it by ref will not be any different than just using a class. So in terms of performance and memory improvements, you won't really gain anything for using structs over classes. Specially for DTOs which can be really big.

      @JustNrik@JustNrik2 ай бұрын
    • @@JustNrik you’re only copying if you’re mutating. And it works on the stack which is easier to GC and you have not overhead versus the class as the struct is only the sum of the contents. I’ve tested with json doing this by hand with minimal APIs and it’s a 2-3% increase in performance and over time it saves significant GC cycles.

      @jameshancock@jameshancock2 ай бұрын
    • I am always interested how and where people acquire knowledge about the performance of specific data structures, approaches, and related topics. Could you recommend some books that can help me become familiar with such subjects?

      @konstantinkurtev3396@konstantinkurtev33962 ай бұрын
    • @@konstantinkurtev3396 the best way to learn about this topic is to learn that books won't help you, and the only source of knowledge is your own experimentation following guidelines from online resources at Microsoft's doc pages

      @AlFasGD@AlFasGD2 ай бұрын
  • 8:45-8:51 using olympics as a time measure reminding us that Nick is greek after all

    @PedroHenrique-us5ks@PedroHenrique-us5ks2 ай бұрын
    • He's Greek? I always thought he was German. Well, except at first when I thought he was an Arab but somehow also white. I'm not good with accents.

      @EdKolis@EdKolis2 ай бұрын
    • @@EdKolis i thought he was just american lol

      @idk-jb7lx@idk-jb7lxАй бұрын
  • Year 2030, still waiting for Blazor WASM multi-threading... (scheduled initially for .NET 8)

    @matheosmattsson2811@matheosmattsson28112 ай бұрын
    • No rush, waiting line is long. I am still waiting for a proper hotreload.

      2 ай бұрын
    • IMHO Blazor is a really bad architecture for 90% of the web challenges. Any client side logic with server side rendering is trying to solve the wrong thing in the wrong place. Rendering is easy on the client side and hard on the server side. Logic is hard on the client side and easy on the server side. Blazor makes the worst possible decision, run the logic on the client side with WASM that sends the state to the server to render the html. Sure, you might say you don't have to do this and just render WASM on the client side, but then you need to send your entire DotNet Runtime to the client side, bloating the entire thing. Don't get me wrong, I would love for nothing more than to be able to program web in something different than Javascript and building through Node. WASM has great potential. But as it is, its just another Silverlight waiting to happen.

      @rodrigoserafim8834@rodrigoserafim88342 ай бұрын
    • @@rodrigoserafim8834 why would you send the entire runtime to the client? it just needs to render the UI based on data from the server. in my projects I shared a Dto class library with the clent and the client talks to a web api on the server. It's quite nice to use c# on the client side. works great so far. most of the client logic is based on communicating with the api. Your main logic should always stay on the server for security If you are making a website versus a webapp, then i wouldn't use blazor, because it loads way too slow and you get into more the issues you describe where you might want to render on the server and send that to the client.

      @litpath3633@litpath3633Күн бұрын
  • I have mixed projects with C# projects referencing domain models and functions written in F# and it works just fine, however there are days where I feel DUs are main reason those F# projects exists, on other days I feel like F# modeling is really superior. Overall I wouldn't mind having an easy way to define DUs in C# as they are now then you look up what F# code produces but that is another whole topic, as most people don't know how much working with both C# and F# in same solution improved over last 3-4 years.

    @mciejgda88@mciejgda882 ай бұрын
    • Maybe time to revisit F#? Ran into bunch of weird things at .Net 6 mostly with EF core that were just killing my spirit :(

      @AkosLukacs42@AkosLukacs422 ай бұрын
    • I love F# other than lack of "break" and "continue" for loops. You can't test recursive functions very well and sometimes iteration is the best/more practical way to handle algorithms. Please, someone prove me wrong and I will pick up F# again.

      @collynchristopherbrenner3245@collynchristopherbrenner32452 ай бұрын
  • I guess the only thing I really want is the new extensions feature so I can have nice property extensions

    @Twyzz91@Twyzz912 ай бұрын
    • Kotlin actually has these! Also extensions that don't need to be defined in a static class. It's awesome, you can just put them in whatever scope you want. Why can't C# do the same? Did Jetbrains patent this stuff? 😂

      @EdKolis@EdKolis2 ай бұрын
  • I don't mind the promos in the videos and they historically haven't really been much of a problem. But I have to say, lately it's gotten a bit absurd. Over a minute of ads, and in some videos they're even also promoted by other companies in addition to the self promo. Is it possible to tone it down somewhat?

    @buriedstpatrick2294@buriedstpatrick22942 ай бұрын
    • Get the sponsorblock extension for your browser.

      @__Tweek@__Tweek2 ай бұрын
    • @@__Tweek I have no idea how it works, how does it know what content is sponsored? Very cool

      @Efemyay@Efemyay2 ай бұрын
    • @@Efemyay I think people mark sections of the video that are sponsored and that's how it knows

      @__Tweek@__Tweek2 ай бұрын
  • Did Microsoft fix edit and continue already ?

    @unskeptable@unskeptable2 ай бұрын
  • What about the Blazor?

    @scorpions3834@scorpions38342 ай бұрын
  • What is roles extensions?

    @tibba69@tibba692 ай бұрын
  • 1. May I know, in future Angular and databases can be a part of dometrain? 2. How can someone, who is new to .net and without being overwhelmed and learn all the courses in a practical sense with building side projects?

    @user-nh5fg4se5w@user-nh5fg4se5w2 ай бұрын
  • It's definitely a communication issue that the dotnet stuff is all managed by slightly different teams, but they're all expected to release features in November for the latest dotnet version. My opinion is that they should move to a cadence of releasing things as they're ready. EF, STJ, and MAUI seem like they could benefit from not being tied so much to the dotnet release cycle. It's also a little confusing to see a library that was updated to v7 for dotnet 7 but still works with dotnet 6.

    @computer9764@computer97642 ай бұрын
  • I understand the pervasiveness of Python for AI, but I have been writing using large language models using C# just fine. 👽👍

    @UFOCurrents@UFOCurrents2 ай бұрын
    • A lot of the pioneering was done in python because that was what the academics are used to, but the python itself is not the AI. The models are language agnostic. If my entire application is C# then I'm going to need the reliability, type safety and speed of C# for my local AI work loads.

      @johndenver8907@johndenver89072 ай бұрын
    • @@johndenver8907But the AI ecosystem is Python, so you have to deal with it. Soon you will get the strongly typed Mojo. But in the meantime if you want to be in the .NET space then go with F# which has a mature data science story with the flexibility of Python.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
  • "And then, F# is a language that exists"

    @shadowsir@shadowsir2 ай бұрын
    • Very underrated language. Even in a non-production sense it’s good for utilities. Two killer features are Type Providers and Units of Measure if you’re doing numerical computing.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
    • IMO, thanks to discriminated unions, units of measure and computation expressions, it's lightyears ahead of C# for decent domain modelling.

      @shadowsir@shadowsir2 ай бұрын
    • I *want* to like F#, but its syntax is so off-putting it's hard. I get that the syntax came from OCaml, but I'm not a fan of it.

      @colejohnson66@colejohnson662 ай бұрын
    • @@colejohnson66 Easy enough to get used to and more concise than C-syntax languages.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
  • I found using abstract classes with private constructors useful, like using discriminate unions. This is very similar to sealed classes in cotlin. What would I like to see are interfaces that are "internaly extensible" Which alow user code to depend on interfaces but not to implement them

    @IceQub3@IceQub32 ай бұрын
  • Static variables at the method level would be wonderful and painless to implement.

    @JW-lv1fm@JW-lv1fm2 ай бұрын
    • I'm am curious why this would be necessary. you can implement static variables in the same class. if your passing a non static variable as a parameter to a static function I understand the frustration, but I think you need to rethink your design. too many static variables == no garbage collection and memory problems/crashes down the road. IMP... but I am junior dev so I may be wrong

      @FullStackIndie@FullStackIndie2 ай бұрын
  • Microsoft thought they were being clever releasing half baked MAUI with dotnet 6. Its literally frustrated the heck out of anyone wanting to adopt it in last couple of years. Not to forget they launched it twice (once with dotnet 6, and then 8). So these vision articles mean nothing to be honest. MSFT needs to focus on delivering something consumers find useful, rather than spending dev time in making marketing videos for a technology thats difficult to adapt specially when its not a monopoly.

    @JohnDoe-fe1eq@JohnDoe-fe1eq2 ай бұрын
    • Current Microsoft is unable to finish any of their projects, as they don't commit to any of their products, Windows itself is half baked nowadays.

      @kobiblade@kobibladeАй бұрын
  • What makes discriminated unions so hard to implement on C#? I though they will just be syntax sugar for "sealed abstract class" and generate each class on the union or maybe some magic with structs and an enum to identify the union tag

    @neociber24@neociber242 ай бұрын
    • Same question I had in mind. Can someone give us a clue please? I remember Nick making a video talking about them about a year ago, and they looked really cool.

      @samalhabash2116@samalhabash21162 ай бұрын
    • The LDT is struggling to figure out what they want to achieve with DUs. Implementing them in any way is very easy by itself, let alone for the devs behind it. What we really care about is whether they will be blazing fast, or if we will sacrifice too much performance. Adding DUs is a commitment, so it has to be a feature that is prepared to stand for a long time in the language. Meanwhile all these other features and expansions are being given time, in other working groups. So it's primarily a matter of longevity and careful planning.

      @AlFasGD@AlFasGD2 ай бұрын
    • We can already do DU using StructLayout and LayouKind.Explicit. There's just no language support.

      @TheMonk72@TheMonk722 ай бұрын
    • @k72 Only with value types though, you can't have an explicitly layouted struct with an int, float, and a string (or any other reference type) where they overlap for instance.

      @_profan@_profan2 ай бұрын
    • @@_profan you can, but since strong is a reference type you have to be careful about how you treat the value. Same with arrays... although it's useful if you want to do quick and dirty value type conversion to/from byte arrays. Nasty, but it works.

      @TheMonk72@TheMonk722 ай бұрын
  • I toyed with the idea of learning XAML last week (in Avalonia UI which uses WPF and Google's Skia under the hood) after frustrations with MAUI and Microsoft's lack of commitment to really fixing the issues with it. Then I thought based on research and general user experience, WPF and XAML can't be the future, but neither can MAUI unless Microsoft does something about it. I kinda wish Microsoft would purchase Avalonia UI and then not make the mistakes that they made with Xamarin, namely not listening to the users that are enthusiastic and use the framework.

    @collynchristopherbrenner3245@collynchristopherbrenner32452 ай бұрын
  • I still have many packages .preview-8 and they already moving to 9 ??? There are 314 issues open now - could you please fix everything before moving forward ? I don't need more new features - I need stability and performance !

    @toragodzen@toragodzen2 ай бұрын
  • Lovely sense lf homour man. Keep it coming. Keep us entertained while updated on these daf industrial communications.

    @jayzjek@jayzjek2 ай бұрын
  • Just switch to F# if you want DUs

    @somebody_on_the_internetz@somebody_on_the_internetz2 ай бұрын
  • The fact that people are mad about their platforms actually receiving regular updates and QoL changes in these comments is fascinating to me. I'm personally glad I don't work with a language like C where you have to wait ten years for a committee to approve every change (and then another five years for some compilers to support it, maybe, potentially). If you dislike a new feature in .NET, consider not using it. Microsoft's backwards compatibility promises exist for you.

    @jackkendall6420@jackkendall64202 ай бұрын
    • It's fatigue. It's not a matter of "not using" features. You have to learn and know all of them (and I mean all of them) if you work on a dev team, in case they decide to use them. When you're 20+ years into your career, the breakneck release schedule becomes more of a burden than a bonus. It can almost be seen as technical debt for all .NET developers that keeps getting piled on. You can't just ignore it. In fact, staying up to date almost becomes a full-time job in and of itself.

      @keyser456@keyser4562 ай бұрын
    • And then they keep changing how the "startup" works with a million different ways to do application builders, services, etc. I'm still to see how a console app is "supposed" to look these days with DI, etc as the documentation is sketchy.

      @ilh86@ilh862 ай бұрын
    • Don't worry kid, one day you'll be a senior developer and will finally understand why C is still around despite not having an update every few weeks.

      @gbjbaanb@gbjbaanb2 ай бұрын
    • @@gbjbaanb I also understand why the industry is desperate to get away from it, and inventing 'C killer' languages roughly every year to do just that.

      @jackkendall6420@jackkendall64202 ай бұрын
  • I don't understand what vision do people want for DU? Since we already have type/pattern matching, you can use that instead to accomplish the same thing. Maybe you can make a video explaining what you think DU should look like?

    @helshabini@helshabini2 ай бұрын
    • Plus it will never have the elegance of a DU in F#, no matter how hard they try.

      @jimfoye1055@jimfoye10552 ай бұрын
    • For me it's mostly about far better error handling. C# still has a system of throwing exceptions and try catch, which are very problematic, because they form a way of error handling which is not well encoded in the type system, based on method contract it is totally unclear if a method possibly throws anything. DUs make it possible to handle that issue. But more generally speaking it is about clear ways of being able to know and handle which variants of a type are possible. The current C# pattern matching based on just OOP inheritance allows for infinite possible values, because an interface or class can have unlimited derived types. So pattern matching is very frequently not exhaustive. Unless being done on an enum. But enums cannot contain any other direct values. If they did, then you exactly had what we called a DU. And this is exactly Rust has for example. Enums as DUs.

      @jongeduard@jongeduard2 ай бұрын
    • I guess people wanted DUs to be able to use the same error handling as Rust.. but come on! if your function return error as value and sometime throw some exception, then it will become a mess! consumers have to deal with both errors as values and exception handling..

      @duongphuhiep@duongphuhiepАй бұрын
    • @@duongphuhiep an easy solution is for all dotnet devs to agree to return exceptions as return values in a tuple. If we all do it at the same time then problem solved. Let’s go. Staring right…..now 😂

      @helshabini@helshabiniАй бұрын
  • The distinction between dotnet, C# and all other teams is understandable. But it gets me every time with these blog posts. If they have a checklist for things to be accounted for on every post, starting with a clarification and directions section should be in it! Like "this post is about X, the post about Y will be/is there; and look at that other place to find out more about other projects..."

    @killymxi@killymxi2 ай бұрын
  • I'm ambivalent about Discriminated Unions in C#. I love using them in functional or multi-paradigm languages like F# and typescript, but I can achieve the same thing using subclasses in C# (the class's type is essentially already a tag). Especially in combination with C#'s pattern matching which has really advanced the language IMHO.

    @mrwensveen@mrwensveenАй бұрын
  • Discriminated unions is the one thing I want. I am predominantly C#, but I go to F# all the time to play with that. It's such a great way to tackle so many things.

    @peep39@peep39Ай бұрын
  • I think Native AOT will be pushed in a way that gets easier access to python and vice versa. So, we can benefit from the AI capabilities implemented in python/C. Like rust and Python. What do you think about it?

    @zbaktube@zbaktube2 ай бұрын
  • I love F# other than lack of "break" and "continue" for loops. You can't test recursive functions very well and sometimes iteration is the best/more practical way to handle algorithms. Please, someone prove me wrong and I will pick up F# again.

    @collynchristopherbrenner3245@collynchristopherbrenner32452 ай бұрын
  • Seems like a memo was received: “write something about AI” MAUI and Blazor dropped to the backlog bottom is frankly a slap. We switched from typescript/vue2/3 to Blazor and never looked back. Improve the diamonds you have already

    @mome3807@mome38072 ай бұрын
  • Working with MAUI daily now. MAUI is amazing. It has bugs though, like hot reload just stops working on Android once in a while for no reason. Usually fixed when I reboot. No other indication of what's going on. But usually I will just switch to using the Windows side of things for stuff I would need Hot Reload for anyhow. That happens fast and then all the code shared between IOS, Windows, Android. Then we have a WPF and Linux version setup in separate projects while still sharing all the major code. Performance of MAUI has been exactly the same as the java version on android. Business App though.

    @johndenver8907@johndenver89072 ай бұрын
    • Hello, "Performance of MAUI has been exactly the same as the java version on android" - meaning it is slow? Please give more details on issues with MAUI. Thanks

      @queenstownswords@queenstownswords2 ай бұрын
    • Sorry I mean a Java version of the app. The UI looks much different, but then I'm talking about controls and responsiveness of clicks.@@queenstownswords

      @johndenver8907@johndenver89072 ай бұрын
  • I think we are starting to experience how the new stuff, that would be useful. clash with the old and would confuse people. The platform is very mature. And Microsoft's policy is not to break stuff, because then their customers get angry. And they are usually don't the ones who want to deal with change. Whereas the people of the community would embrace that change. So it is a battle. I have a list of things that I now wished that C# and .NET had .For instance discriminated unions for application Errors, instead of Exceptions. I also would move all generic collections to the System.Collections namespace, as .Generic is quite redundant. Even scrap the IFoo interface naming convention. Nullability should be a runtime feature. And you should even scrap the idea that the full runtime would always be there. Those would require big changes to the runtime and affect billions of lines of code.

    @marna_li@marna_li2 ай бұрын
    • Not sure I understand what you mean by moving out generic collections? Do you mean to another namespace, or remove them entirely? Generics are essential for collections and I use them all the time, it would be absurd to get rid of them. As for nullability, I am confused about this as well. You can enable nullability since C# 8, and enforce nullable code as a compiler error by modifying your project file (although you can still use the “!” operator to bypass it).

      @11clocky@11clocky2 ай бұрын
    • @@11clocky I meant move the classes from the the .Generic namespace to Collections namespace. I know that it was because of compatibility when generics was introduced.

      @marna_li@marna_li2 ай бұрын
    • Isn't .NET technically open source now? I wonder why no one has forked it yet.

      @EdKolis@EdKolis2 ай бұрын
  • Would be great to plug the podcast with Mads Torgersen talking about DU's. Care to add a link?

    @aalasso2@aalasso22 ай бұрын
  • They surely could do DU like in Java, Scala, Kotlin, or even their own F#.

    @paulopinto5135@paulopinto51352 ай бұрын
  • Good im still using .net 6 :D

    @SayWhaaaaaaaaaaaaaaaaaaaaaaat@SayWhaaaaaaaaaaaaaaaaaaaaaaat2 ай бұрын
  • I always thought one major release per year was too much. Why not one major release every two years, and then an update in the in-between years.

    @nofatchicks6@nofatchicks62 ай бұрын
    • That's pretty much what they do, that is why 1 of the releases is long term support, and the other is not. So 6, 8, 10 etc are the major releases (3 years support), and 5, 7 and 9 are the 'minor' releases (18 month support). They don't leave major features till major releases however, so that is why from another point of view there is no real difference between the minor and major releases.

      @SamJudson@SamJudson2 ай бұрын
    • ​@@SamJudson In .NET they're usually doing their own thing but in C# what they usually do is release a major feature in (a C# version released along) an STS version and then improve and polish it for the following LTS version.

      @lordmetzgermeister@lordmetzgermeister2 ай бұрын
    • They think it's another product like Windows

      @SR-ti6jj@SR-ti6jj2 ай бұрын
    • Because every major language has a faster cadence. It makes no sense to wait years for a feature. Java and Go do it every 6 months, Rust every six weeks! Look at where Java and .NET Framework was before a faster release cycle… dying. No one wants another “java 8”

      @metaltyphoon@metaltyphoon2 ай бұрын
  • I was dealing with machine learning in python. it was a terrible experience, because of the community and library developers, it is not customary for them to make a convenient API and write adequate code. It’s better to write more code in .net than to Google 1 line of python code for 2 hours.

    @lavshyak9640@lavshyak96402 ай бұрын
  • MS needs to declare its ongoing support for MAUI. The lack of MAUI specific documentation for .net 9 is concerning.

    @queenstownswords@queenstownswords2 ай бұрын
    • They need to buy Avalonia and make it first party.

      @chrisbradley3224@chrisbradley32242 ай бұрын
    • They are probably already working on its replacement, don'tcha know?

      @jimfoye1055@jimfoye10552 ай бұрын
    • I rather wish they just dropped it instead of pretending it's viable

      @mongleFrog@mongleFrog2 ай бұрын
  • It seems like everyone wants discriminated unions. And if it's not quite possible to do them like in F#, I would love for a way to use a DU like feature for type constraints. INumber is great and all, but being able to say where T : float | int |MyClass to contrain the incoming data. Also Microsoft, should fix up things that don't make sense anymore due to new features. E.g. you cannot cast a Delegate variable to a more specific delegate type because you get a compile error BUT you can do so if you define the same delegate as a type alias?!?

    @ssquarkgaming1405@ssquarkgaming14052 ай бұрын
  • .NET 8 needs some fixes. We are seeing increased memory usage and even OOM in some of our services which were working fine on .NET 7. May be a leak in unmanaged memory as memory dumps don't show anything.

    @zadintuvas1@zadintuvas12 ай бұрын
  • I used MAUI for about a year, we started a project with native with XAML, then moved to MAUI Blazor and then eventually ditched MAUI and moved to Angular. Blazor Components are awesome but are still sorely lacking. XAML is horrible, you want to do conditional rendering? Haha, jokes on you... Would love to see more development on Blazor as a whole, not just a way to write SPA type web applications but as a replacement to XAML for MAUI and WPF etc.

    @Robula@Robula2 ай бұрын
  • NativeAot is an interesting experiment, but I also consider it too niche and limited in principle. You remove a lot of what makes .NET powerful by ditching the JIT.

    @IllidanS4@IllidanS42 ай бұрын
    • All time JIT does is what nativeAot does, but worse. The theory is what Jit *could* do is just that, theory. AOT can do a lot more optimisations than you would ever get in a JIT. C# is just realising all the things it should have had from the start, but were ignored because they weren't cool enough, are good. Whats old is new again.

      @gbjbaanb@gbjbaanb2 ай бұрын
    • @@gbjbaanb Performance was never the reason ‒ you've had tools like ngen for decades; you can even pick methods for AOT in code by calling PrepareMethod... You don't get anything by removing JIT from a system where both JIT and AOT is already possible. You don't pick NativeAOT for performance; you pick it because you are working in a constrained environment where having the CLR is a burden or outright impossible, such as native plugins/libraries or similar. The "AOT" part in the name is a limitation, not a selling point ‒ by removing the JIT, you lose the possibility to run *any* code that the static analysis skipped in a performant manner, having to interpret at best or breaking it at worst. You don't get anything in terms of power by downgrading C# to C++. You can't accept .NET assemblies, your reflection is limited, you can't interact with dynamic assemblies, and your generics effectively turn into templates since you can only use them statically. That is not something that may improve over time, that is *by design*.

      @IllidanS4@IllidanS42 ай бұрын
  • "getting a new feature every... Olympics!... " 😂😂

    @AndrewMortimer@AndrewMortimer2 ай бұрын
  • You said discriminated unions clash with things already in C#. That's the first time I've heard this. Would you elaborate?

    @justinerdmier@justinerdmier2 ай бұрын
  • It's a shame that you can emulate DU with sealed classes in Java (in Java!!!) and compiler will check it in switch cases etc. But you can't do similar in the C# language.

    @readonlyden@readonlyden2 ай бұрын
  • Microsoft killed VS for Mac?

    @MrMatthewLayton@MrMatthewLayton2 ай бұрын
    • Yes. Again.

      @jasonhurdlow6607@jasonhurdlow66072 ай бұрын
  • Discriminated Unions is the only 'killer feature' I would look forward to in C# at this point.

    @Crozz22@Crozz222 ай бұрын
  • "and F#is a language that... exist!" you kill me on this one XD

    @FarfaDub@FarfaDub2 ай бұрын
  • 4:10 it's nothing like a monopoly as that would be where a single supplier assumes a dominant position. Anaconda groups compatible libraries from many suppliers, they are vast in number and use python bindings written in c or c++ so they are performant too.

    @aj-jc4cv@aj-jc4cv2 ай бұрын
  • MAUI UI is not really cross-platform, still lacking Linux support, and it does not look like it is coming soon at any time. You might take a look at Avalonia UI, which is sort of evolution of WPF into an open-source and more (than MAUI) cross-platform that works on Win, Mac, Linux, Mobile. So, I do not see why you say (7:15) that XAML is "kill it" since MAUI is not XAML and vice versa. You said you did not use XAML in MAUI, and the only thing I can assume is that you created the UI using C# MAUI classes. That is possible to do obviously, but my question is why? I mean, we can write code in a notepad and use the command line to compile and run the code, but there is a reason why we agree to pay money for tools like Rider. Maybe the implementation of XAML editor sucks big time in MAUI, (I have no experience with that). But if the UI XAML IDE sucks with MAUI, it is not the fault of XAML but MAUI Editor. To compare, look at how Avalonia/XAML works with Rider, for instance. Kill it? Really?

    @tridy7893@tridy78932 ай бұрын
    • I prefer always Flutter over Avalonia. Avalonia miss a lot of features that is shipped with MAUI, like routing and navigation. At least Flutter and MAUI has a big company behind.

      @zoiobnu@zoiobnu2 ай бұрын
    • Just to make sure, the discussion is about C# and XAML (as in Avalonia and MAUI) and you are bringing Dart and Flutter? I don't think it is fair pears to pears comparison. As for the big companies, I am not sure what you mean by that. For example, Silverlight and later UWP had a big company behind them.

      @tridy7893@tridy78932 ай бұрын
    • @@tridy7893 yeah, Microsoft and Google abandon project with lower market, like any intelligent business. I loved NET Maui, but lack of Linux support from Microsoft just make me migrate to another language. We tryed to use Avalonia a lot, but its just familiar for WinUI/WPF developers. Missing routing funcionality, its not easy to just show a dialog from anywhere. Yeah, i mentioned Flutter because its a good alternative to Avalonia.

      @zoiobnu@zoiobnu2 ай бұрын
    • What about Uno? That is truly cross-platform.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
  • 5:40 "And F# is a language that exists." lol

    @collynchristopherbrenner3245@collynchristopherbrenner32452 ай бұрын
  • And seriously about AI: I actually WANT to be able to do it in DotNet and to be able to use as little different programming languages as possible. In terms of language and environment, I prefer DotNet (C#) over Python. So let it happen.

    @mptest7461@mptest74612 ай бұрын
  • "understatement of British Proportions" that was direct, and it hurt because its true.

    @local9@local92 ай бұрын
  • you understand why some of us are dumping MS for Elixir

    @CharlesOkwuagwu@CharlesOkwuagwuАй бұрын
  • I think adding enums that are able to have multiple types like Rust has would make it easy to have more functional concepts in the language.

    @jfftck@jfftck2 ай бұрын
    • Rust enums and pattern matching are awesome.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
    • Even if it would require a new keyword to use them, it would always be possible because F# has them and both languages have to be lowered to the same base code of .net.

      @jfftck@jfftck2 ай бұрын
  • Roles/Extensions is hawt.

    @rapzid3536@rapzid35362 ай бұрын
    • What is it?

      @tibba69@tibba692 ай бұрын
    • Yet another attempt at making us forget that we still have no mixins nor multiple inheritance

      @StephanLeclercq@StephanLeclercq2 ай бұрын
  • "If the focus on AI brings in some Python developers, let us all hope they can actually code" XD XD XD

    @nicholaspreston9586@nicholaspreston9586Ай бұрын
  • Become truly multiplatform.

    @collynchristopherbrenner3245@collynchristopherbrenner32452 ай бұрын
  • "F# is a language that exists" lol!

    @tc05698@tc056982 ай бұрын
  • "F# is a language that exists" Nick, they're our sisters, mate. We're all in the same family 😋

    @justinerdmier@justinerdmier2 ай бұрын
  • 3 years == “Long Term Support” 🤦🏼‍♂️

    @chrismantonuk@chrismantonuk2 ай бұрын
    • In IT that's like eternity.

      @krccmsitp2884@krccmsitp28842 ай бұрын
    • @@krccmsitp2884 yeah, it’s depressing

      @chrismantonuk@chrismantonuk2 ай бұрын
  • XAML is fine. MAUI flavor was a mistake. Microsoft bought the wrong thing to get to the market quickly and just poisoned itself forever.

    @killymxi@killymxi2 ай бұрын
  • Nothing about Blazor? Are they already killing it?

    @julianocs87@julianocs872 ай бұрын
    • No, in the contrary. It just wasn't in the scope of the team writing that article.

      @krccmsitp2884@krccmsitp28842 ай бұрын
    • Means there will be some improvements for Blazor too? ​@@krccmsitp2884

      @marko5734@marko57342 ай бұрын
  • Considering Google's use of Go, is there potential in exploring a combined C# and Rust language (C#Rust)? or maybe improving runtime or AOT 😂

    @neotechfriend@neotechfriend2 ай бұрын
  • AI development on Microsofts platform is nothing short of hilarious. Mojo is fast becoming the standard and python.

    @71Jay17@71Jay172 ай бұрын
  • I still don't care about MAUI as long as we don't get Linux support it's not usable for me professionally and for personal projects.

    @mx338@mx338Ай бұрын
  • MAUI improved a lot in .NET 8 with many bug fixes, but the features are still very limited compacted to Jetpack Compose or SwiftUI.

    @Coen22@Coen222 ай бұрын
  • Unpopular opinion here. I love XAML.

    @klimrod89@klimrod892 ай бұрын
    • Fine if you do. But please. React, SwiftUI, Jetpack Compose, Flutter, etc. are superior. I don't think it can be disputed at this point, especially since the latter three all copied React. And so did Microsoft with WinUI 3, and they really just need to get on with it. Or get dusted, as per usual, leaving us dry

      @RogueTravel@RogueTravel2 ай бұрын
    • React? No thanks. htmx all the way for me.

      @71Jay17@71Jay172 ай бұрын
    • @@71Jay17 If you prefer htmx, I'm guessing XAML is a hard pass

      @RogueTravel@RogueTravel2 ай бұрын
    • Well, it's not very convenient for advance scenarios, but in general, it's not a big issue. The main issue is that the MAUI is still not usable, the MAUI team lacks hardcore developers, MS lacks large MAUI based projects developed not using students and interns.

      @bondarenkodf@bondarenkodf2 ай бұрын
    • @@bondarenkodf Microsoft uses React and React Native internally. It is sad

      @RogueTravel@RogueTravel2 ай бұрын
  • Meanwhile, I'm still upgrading projects to .NET Framework 4.7.2 at work... I can't keep up with these .NET versions anymore, and I don't like some of the new features they keep adding to C#. They're turning it into some abomination like Perl.

    @XeonProductions@XeonProductions2 ай бұрын
  • it'd be nice if .NET 8 is available on Azure App Services and not clear out the tech stack every time because there's a known bug. Microsoft knows it exists but in the github issue they claim that not enough of us are complaining to make it a priority.

    @MAMW93@MAMW932 ай бұрын
  • Title actually : "Why Nick Chapsas already hates .Net 9"

    @octaviandobre@octaviandobre2 ай бұрын
  • When MAUI for Linux? Such a lie that MS "loves Linux", but years pass and no official MAUI support. Only community driven attempts. What about a proper supported LSP for C#? We know Dev Kit comes with one. Let us use it for other editors, besides VSCode.

    @viko1786@viko17862 ай бұрын
    • If you want Linux then use Uno instead.

      @kevinmcfarlane2752@kevinmcfarlane27522 ай бұрын
    • Microsoft likes Linux on the server. On the desktop, not so much (no good RDP client, no Office, etc).

      @marcs8325@marcs83252 ай бұрын
  • My dotNET feature requests: - GPU acceleration - Distributed computing support - Decimal floating point operations That's all I ask for, Microsoft.

    @AmaroqStarwind@AmaroqStarwind2 ай бұрын
    • lol, search for 3. c# floating-point-numeric-types, 2. orleans. why tf would u do GPU acceleration in c#, maybe try Skia

      @haha-hk9tx@haha-hk9tx2 ай бұрын
  • I think, as I've said many times, the iteration cycle for a lot of .Net official libraries and frameworks is too long. We shouldn't need to wait a year(multiple years) for STJ enhancements like polymorphic deserialization when the type discriminator is not the first field. Or for reusing existing fields as a type discriminator. For stuff like MAUI and Blazor this is also a very long release cycle. Oh, when the hell will SignalR support compression(Microsoft srsly you are the only source of CRIME/BREACH FUD on the internet for over a decade)?! It is actively holding back a lot progress and inhibiting contributions. 1 year release is great for the core runtime, but for libraries and frameworks in 2024 this is forever(nvm it gets no official attention, and no outside contributions, so it's kicked out another full year in July).

    @rapzid3536@rapzid35362 ай бұрын
  • The main reason I just cannot care for MAUI is it has no linux support while avalonia exists and supprots it p well.. I have projects and plans to ship to linux + windows, MAUI not having that kinda kills any excitement I could have tbh.

    @aldelaro@aldelaro2 ай бұрын
  • You can tell the guy is Greek, if he measures time in olimpics 😂

    @zwatotem@zwatotem2 ай бұрын
  • We don't need DU's just like we don't need Enums that can have code and behave like classes. I imagine there is some DU framework out there somewhere that would allow you to create a base class for your discriminated Union results. I think the pattern matching system more than compensates for that.

    @johndenver8907@johndenver89072 ай бұрын
    • Enums that can have methods like classes would be great. The current workaround of using extension methods is pretty cumbersome.

      @11clocky@11clocky2 ай бұрын
    • The Rust DUs and pattern matching are the best examples of these implementations. I'd tried a little bit of F# and missed the "If.. let" and "let .. else" operators. By the other hand C# allows to define guard clauses using type matching. If they combine some features from F# with C# then it will be the best language. Rust is the best example for inspiration. The way they have the Enum is very useful. If the current C# Enum has a way to store generic values it would be very great.

      @kallebysantos5167@kallebysantos51672 ай бұрын
  • In my opinion, azure is crap. Every time I tested it, it was far more expensive and slower than just renting a full blown virtual server and deploying my apps on there. Shouldn't it be the other way around? If Microsoft starts forcing us to use Azure (either by introducing arbitrary limitations or by making other paths deliberately difficult), then I will turn my back on the MS dev world and consider PHP or other technologies.

    @marcokummer4956@marcokummer49562 ай бұрын
  • .net NEIN

    @joshuagabal9444@joshuagabal94442 ай бұрын
  • I don't get it, why is the content and the title are different? Not cool.

    @PritomPurkayastaSunny@PritomPurkayastaSunny2 ай бұрын
  • What's wrong with XAML? I like it, reminds me of web programming using AngularJS without the nauseous Javascript.

    @nickbarton3191@nickbarton31912 ай бұрын
  • We early

    @fusedqyou@fusedqyou2 ай бұрын
  • You don’t really need discriminated unions when you use interfaces. Sure they close on type, but why would you actually want that?? Closed on type is good until you need to support more types.

    @br3nto@br3nto2 ай бұрын
  • Ruh roh

    @ryanzwe@ryanzwe2 ай бұрын
  • You just don't say anything.

    @Joe3D@Joe3D2 ай бұрын
  • Asparate video please

    @tplummer217@tplummer2172 ай бұрын
  • After 15 years on .NET left it for Kotlin. Never looked back, despite all the good things. Switched to Mac OS along the way. I wish I’ve done it way sooner. Ecosystem is way more important than syntax sugar here and there, you can figure it out by counting top systems implemented outside MS world. Happy coding, friends.

    @demokraken@demokraken2 ай бұрын
  • Nick, I love your content. But, these thumbnails are so CRINGE😂

    @divanvanzyl7545@divanvanzyl75452 ай бұрын
  • NET nein !

    @MaximilienNoal@MaximilienNoal2 ай бұрын
    • Also ja, oder wie?

      @TheLilRussia@TheLilRussia2 ай бұрын
    • Oder meinst du niet==nein

      @johannes7768@johannes77682 ай бұрын
  • So what is the diferrence between DU's and the Results implementation that .NET Core already offers. .NET Core 9 looks like it had a lot of features coming. The .NET Core team are not just sitting around obviously, they are busy. As usual, Microsoft is completely out of touch with there customer base. Or perhaps, the customer base just keeps misinterpreting what Microsoft is saying.

    @tanglesites@tanglesites2 ай бұрын
  • I can't find pleasure in all of this worthless yearly updates. The good old times where we had big updates all 3 years were much better. This is more hype then meat now.

    @llothar68@llothar682 ай бұрын
  • Imagine C#, but with a feature rich type system such as TypeScript

    @cn-ml@cn-ml2 ай бұрын
    • That would be my dream. Typescript as a first class .NET lang

      @bomret@bomret2 ай бұрын
    • What feature ? I just hate TS because its not a big thing. Not really typed, interfaces that actually is just a class, enums which we can't parse in runtime and another problems. Yeah, is good to predict common mistakes in JS, but not a great thing. I think JS must be replaced by Dart.

      @zoiobnu@zoiobnu2 ай бұрын
    • @@zoiobnu You talk about TypeScript as its current "frontend for JavaScript". Image it would stand on its own and compile down to CIL and have access to the .NET standard libs. In that regard it would have a far superior type system than C# and all the other shortcomings you mentioned would fall away. It would be superior to C# in every way.

      @bomret@bomret2 ай бұрын
  • Why do you think discriminated unions will never going to be a thing in C#? They are literally extremely easy to implement compared to a bunch of stuff in their proposals

    @diadetediotedio6918@diadetediotedio69182 ай бұрын
    • yeah, didn't get that either. I don't see anything fundamentally incompatible in current C# that prevents DUs like in F#.

      @ChyK24@ChyK242 ай бұрын
    • @@ChyK24 I mean, you can literally implement them by hand in the current C# using explicit struct layouts, so what is the "clashing" (in fact, I have a crate that uses source generation to do exactly this, called 'EasyUnions')? The most problematic stuff I see is with things like interfaces and stuff, but I don't think they are a good thing to use on DU's in C# anyway.

      @diadetediotedio6918@diadetediotedio69182 ай бұрын
    • @@diadetediotedio6918 Also check out Dunet

      @chris-pee@chris-pee2 ай бұрын
    • the main issue is the LDT is still figuring out exactly how they want DU to behave and be represented the addition itself isn't complicated

      @the_cheese_cultist@the_cheese_cultist2 ай бұрын
  • Which developers? Lol

    @obinnaokafor6252@obinnaokafor62522 ай бұрын
KZhead