57
Mitiko
7y

It's official, guys! .NET bool variables can now have only the values true and 1!

Comments
  • 18
    You are wrong, it clearly says true OR 1 😈
  • 0
    @DeepSpace I said those are the only possible values ;)
  • 2
  • 2
    Been working with ASP.NET Core 2.0 since preview, but I never knew about this groundbreaking change. This is marvellous!
  • 2
    .NET is never wrong !!
  • 1
    @JohnnyMuen Lol I said it as a joke ! like Customers are never wrong !! 😒 Never mind !!!
  • 2
    @JohnnyMuen Care to elaborate on what's wrong with .NET?
  • 2
    Finally! Too many negative energies with those Falses
  • 3
    @DutulescuRemus since i switched to. Net I'd never go back again
  • 5
    @dontbeevil I used to hate .NET because of Microsoft preconceptions, but I've come to appreciate it more and more since I got a job. And during the last year they started to get their shit together with the while ecosystem (.NET Core, .NET Standard and so on), although it might still seem confusing for newcommers.

    Just my $0.02.
  • 1
  • 3
    @JohnnyMuen I'm gonna give you the benefit of the asshole for not backing up your statements with arguments. How do you like them apples?
  • 2
    @JohnnyMuen Such a sound argument. Thanks!
  • 5
    @runfrodorun You're obviously a far better engineer than myself. I didn't give a shit to demonstrate that .NET/C# is the absolute best for any project, but I did want for that guy to get his head out of his horse's ass and explain himself after making a blatant statement.

    But kudos to you for doing that for him. Now I'll try my best to elaborate on why I think .NET is a GOOD ecosystem for SOME use cases, not the best and definitely not for all. I'll mainly speak from the small experience I have, so bear with me.

    Accessibility. This goes both ways, because if you can have lots of self-thought programmers who lack the basics, writing albeit functional, but ultimately shit code. However, being this easy to get into means that you can jumpstart a project by being more productive. Ease of use is ease of use.

    Cross-platform. And no, it's not strongly tied to the Microsoft ecosystem. See ASP.NET Core running on Kestrel. See Xamarin for cross-platform mobile applications.
  • 5
    @runfrodorun
    You mention compiler engineering and deep optimization. You'll have to admit that in many real life scenarios you do not need the lowest level of optimization. Are you building generic API's? Or a solution designed around microservices? I don't see why .NET is not an option. Surely you won't have the most optimized solution, but there are cases when the tradeoff between time & effort is well worth it. Unless you want to overengineer everything.
  • 2
    @DutulescuRemus I agree we should compare NET with other programming languages / frameworks for similar scenarios .. not against c++ for example. (and still you can use also c++ in .net for lower level programming)
  • 2
    @JohnnyMuen Can you provide some sources please?

    I did a quick search and everything I found said that either ASP.NET was faster or they were about neck and neck. There was only one result in the first page of results that suggested that node was faster.

    My node knowledge is limited so I'm quite interested.
  • 1
    @Jamoyjamie https://stackoverflow.com/questions... also here we're talking about web, what happens when you come to software?
  • 3
    @JohnnyMuen As I said, I did Google it so please don't give me that answer.

    As previously pointed out, you've stated a lot of things here but you haven't really backend any of it up or given much explanation other than 'because it is'. I don't intend to come across personal, but you're looking a bit like a mindless Node fanboy at the moment 😛

    As I said, I've not got much node experience so it may very well be faster, please do convince me so.
  • 2
    @JohnnyMuen you're right I dind't pay attention to the date, this are more recent results
    https://github.com/aspnet/...
    https://stackoverflow.com/questions...
    https://linkedin.com/pulse/...
    https://manuel-rauber.com/2016/03/...
    https://slideshare.net/waldyrfelix/...
    http://socalcto.com/2016/07/...
    maybe I cnanot read them properly, but I don't see so much big difference as you're saying, even in some tests win .net, maybe you can provide some more specific scenario results?
Add Comment