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

  • 1 Post
  • 61 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.


  • 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.
















  • If only there was an article that described the monetization of such a model… oh, wait…

    We want people to make money off of their software, but we recognize that the community benefits from a project’s economic success. Within fair-code, creators have the exclusive right of commercializing their work, ensuring long-term profitability. Companies that wish to commercialize the software can contact the author and form a business relationship that benefits both parties!