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

  • 3 Posts
  • 169 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.






  • Yes, which is why you as the employee need to always have a “paper trail”. Make sure everything is written down, either on paper or electronically. After any phone call or in person meeting, make sure you follow up with an email that recaps what you discussed. BCC your personal email to make sure you retain a copy of the communications. Do not trust your employers to keep your email intact.

    And never, ever, sign anything when you’re fired. Refuse any “exit interviews”; remember that anything you say can and will be held against you. No matter what your employer says, they absolutely cannot withhold your paycheck because you refuse to sign or interview when you lose your job.

    It might also be worth looking up your state’s laws on recording conversations. For example, in North Carolina, you only need one person’s consent to record conversations. And since you’re a part of that conversation, your consent is all you need. So if you have to, record your “one-on-one meetings/phone calls”. But absolutely do not reveal that to your employers.