this post was submitted on 16 Nov 2023
224 points (95.5% liked)
Programmer Humor
19719 readers
68 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was off by one, but Sunday is 0 in javascript
JavaScript is wrong
That's nice, you can run
weekend = dayOfWeek > 5
and then explain to the boss why clients are getting work texts on a sundayDon't use JavaScript on the backend ¯\_(ツ)_/¯
I'll be sure to tell my boss to throw away all the work he already paid for and start over in a different language. I'm sure he'll be very understanding
Sunken cost fallacy
I don't think you understand the concept of having a boss.
Earlier this week I proved to him that his new "more secure" password policy results in passwords that can be cracked in under a minute, and he didn't care
Sneak in a library that makes things more sane when nobody is looking...
Also, that isn't "having a boss" it's having a shit boss. As an engineering manager I am happy to go to bat and make excuses for time my reports spend paying down technical debt and making things more maintainable (within reason of course, and if shits really bad I can usually sneak a sustainability project into the timeline).
We'll always need to make some compromises for our workplaces, the perfect job doesn't exist, but what you described is a huge red flag. You deserve respect at work.
Yo nodejs is just plain amazing. We should just keep improving on js and replace all other languages. Js is already on all browsers, by adopting it on the server you get huge efficiency as you can move code AND coders between backend and frontend. Of course you must make the right choices of practices and frameworks for this to be possible
I agree! How many js frameworks spawned today? Which one is best?
That's nice, you can run
weekend = dayOfWeek > 5
and then explain to the boss why clients are getting work emails on a sundayCron has clearly the superior numbering system, where sunday is both 0 and 7