• 0 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: July 20th, 2023

help-circle


  • iammiketoProgrammer Humorrm -rf /
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    You can probably use something like

    git clean -xdf
    

    To get rid of all the artifacts not tracked by git, in this case it’s virtually the same as deleting the repo and re-cloning it.

    NOTE: Make sure everyhing is staged, otherwise that data is gone









  • .NET has been around for two decades. It’s a well established technology with plenty of resources, documentation and libraries and frameworks. I guess these are in part the reason it’s still thriving.

    You’re thinking about .NET Framework reading your opinions on it, .NET (Microsoft is terrible at naming) is the “newest” standard and it’s fully open source and cross platform. They removed Windows only APIs and embraced the open source way.

    While Microsoft is indeed full of shit they did a great move with .NET in the last 10 years.

    You don’t even need Visual Studio, I use Rider for instance and I love it! I cannot stand Visual Studio either, mostly because I hate its UI/UX.

    At the end of the day is matter of preferences, I like .NET and C# and I work with these technologies daily for instance.




  • iammiketoProgrammer HumorGolang be like
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Some people simply ignore warnings, that’s the main issue. Trust me, I saw this way too often.

    If you cannot compile it than you have to fix it, otherwise just mark unused variables as ‘not an error’ via _ = someunusedvar.




  • iammiketoProgrammingDear past me, use the flags
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    Similarly, you can leverage this to wire traffic to DB replicas for instance. This if you need to handle traffic to DBs under specific scenarios (DB problems, burst of traffic, bugs, etc). So basically a purely technical feature flag (paying attention to authorization as always)