Welcome to the wonderful world of code obfuscation

DroneRights [it/its]@lemm.ee to Programmer Humor@programming.dev – 218 points –

Yes, someone actually did this and I found it running on our server

92

You are viewing a single comment

You forgot weekend = dayOfWeek.name[0] == 'S';

Can confirm this works completely as expected when the user's system is set to lang=ES.

Simple save the users language setting in a variable, change it to english, check if the first letter is "s" and then change the language back.

true but that's a precondition to some of the other examples as well