Yes, someone actually did this and I found it running on our server
That’s nice, you can run weekend = dayOfWeek > 5
and then explain to the boss why clients are getting work texts on a sunday
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
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