Web Developer by day, and aspiring Swift developer at night.

  • 1 Post
  • 135 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • I’m probably going to get a lot of hate for this, and I do recognize there have been problems with it all over the place (my code too), but I like null. I don’t like how it fucks everything up. But from a data standpoint, how else are you going to treat uninitialized data, or data with no value? Some people might initialize an empty string, but to me that’s a valid value in some cases. Same for using -1 or zero for numbers. There are cases where those values are valid. It’s like using 1 for true, and zero for false.

    Whomever came up with the null coalescing operator (??) and optional chaining (?->) are making strides with handling null more elegantly.

    I’m more curious why JavaScript has both null and undefined, and of course NaN. Now THAT is fucked up. Make it make sense.


  • dohpaz42@lemmy.world
    cake
    toProgrammer Humor@lemmy.mlWorst is UTC vs GMT
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 day ago

    You obviously don’t suffer from a sensitive circadian rhythm. To that I’d say, lucky you. But there are plenty of people who do suffer. And by the time they finally get used to the time change, it’s time to change again. It’s vicious and disruptive; to more than just scheduling. It has a direct (negative) impact on physical and mental health.













  • dohpaz42@lemmy.world
    cake
    toWhite People Twitter@sh.itjust.worksLife just isn't fair
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    5
    ·
    19 days ago

    You replied to my comment, which at no point did it mention anything to do with running (or activity of any kind). So you were left to make an assumption of what I was referring to in my comment. That because I made a joke about being young, I must certainly be talking about fitness, and suggesting that older people can’t do fitness. It’s not like there are other reasons for my comment. None at all. And the “🤣” wasn’t indicative of my tone either. Nope.

    Now if you’ll excuse me, I’m le tired.


  • dohpaz42@lemmy.world
    cake
    toWhite People Twitter@sh.itjust.worksLife just isn't fair
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    7
    ·
    edit-2
    19 days ago

    Like it or not, I don’t have to be disabled to be indignant at someone I feel is being intolerant or ignorant. And believe it or not, I was not doing it for you, nor anyone else for that matter. I am allowed to express my feelings, positive and negative. I will not be shamed into silence, especially when I feel someone is out of line.

    In fact, I feel that would set a dangerous precedent; a damned if I do, and damned if I don’t.

    How dare I speak up?

    How dare I stay silent?

    No thank you. You have every right to be upset at me, and I have every right to be upset at !GBU_28@lemm.ee, and you for that matter.

    Do with that what you will.