💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱

  • 169 Posts
  • 78 Comments
Joined 11 months ago
cake
Cake day: November 25th, 2023

help-circle




  • Sorry. Hadn’t occurred to me you may not be able to see it (usually it’s me who can’t see things others post! 😂 ).

    In a nutshell it boils down to the release schedule for .NET/C# - which people are paying to use - is too quick with too short support periods. He compares to another language, which is free (from memory I think it was Rust? I’d have to watch it again to see) which has the same short support periods, but is FREE. i.e. what are we paying for if we’re not getting support for any longer than something which has the same support period for free? He’s saying since MS is charging people for this, the support periods need to be longer, specifically security patches. e.g. if someone releases an app near the end of a period, then has only say 6 months before they have to upgrade it already, just to keep getting security patches. People don’t have the option to stay on their stable release for a decent amount of time, even though they’re paying for it. He just wants them to slow down the speed and increase the periods (we all know MS is all about pushing out new features over fixing bugs).

























  • if i have to manually handle every case in a switch (or if else) statement and I was wondering how could I write, for example, a method that would do the conversion

    You could still do it that way with a switch. Only the case part needs to be constant…

    ` switch (field.GetType().ToString()) {

    case “Int”: Method((int)x)…

    case “NullInt”: Method((int?)x)…

    case “Long”: Method((long)x)… `

    Been a while since I last did this though - you may need to do string caseType=field.GetType().ToString() first, then do switch(caseType). I think from memory you can do it the other way though.

    P.S. I clicked on “code” (which just starts/ends with an apostrophe), but it doesn’t want to display as code - I don’t know why