Skip Navigation

User banner
Posts
4
Comments
125
Joined
2 yr. ago

  • Pretty sure they're referring to class names describing the visual style being applied, rather than what that class represents semantically.

    E.g. .red-bold vs. .error-text

  • I'm in this no-experience-to-apprenticeship program and everyone in my class thinks type coercion is the greatest thing ever.

  • Think of your closest friend or family member. Do you "believe in" them?

  • It's very rare that you find anyone on Lemmy/Reddit that actually takes more than eight seconds to critically think about the significance of "religion," and not just immediately monkey brain into "religion is for idiots." Alas, I hoped that this particular group think would've stayed behind.

    A belief is not a religion, and a religion is not a belief. Any one person can be varying degrees of "religious," and any one person can hold varying levels of belief in a higher power.

    I don't have much else to add because your comment was pretty well thought-out.

  • "Misuse of the Oxford comma, bad speling and taking jokes too far."

  • Ah, but you thought about it for more than a quarter of a second. That's not allowed.

  • The elephant and rope parable rings its bell of sound morals!

    Not so much the realizing what NaN means; that's more relevant to that XKCD which I probably don't need to describe here.

  • Const goo =

    backspace backspace

    const Foo

    backspace

    const foo = obj. Val;.

    *deep breaths

  • Pointing at physical characteristics? Not as amazing.

    Worse? Or better?

  • "Code -30% faster with GitHub Copilot"

  • Yeah, it's definitely convenient in most cases, I would say. Though it can also be inconvenient when messaging, because sometimes said need to add context can read very unnaturally in an otherwise grammatically correct sentence.

  • https://thedailywtf.com/articles/gotta-catch-em-all

    Dear God.

     csharp
        
    try
    {
        /* ... some important code ... */
    } 
    catch (OutOfMemoryException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (OverflowException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (InvalidCastException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (NullReferenceException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (IndexOutOfRangeException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (ArgumentException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (InvalidOperationException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (XmlException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (IOException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (NotSupportedException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (Exception exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    
      
  • Ironically, autotune is more akin to pixelating an image.