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’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
weekend = dayOfWeek > 5
dayOfWeek is clearly represented by 1-7 in the example, with Sunday being 1.
So, I guess the answer is “depends on what date library you’re linking against”
Sunday is
10 and Saturday is76.You just made Friday part of the weekendYou forgot SundayOn which planet? Monday is 1
On planet America.
Ah the same place that uses feet and inches, and puts the month before the day, and cannot read a 24 hour clock?
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 ¯\_(ツ)_/¯
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?
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
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
Depending on how you’re counting your integers, Monday is 0, being the first day of the week.