Welcome to the wonderful world of code obfuscationDroneRights [it/its]@lemm.ee to Programmer Humor@programming.dev – 218 points – 11 months agoYes, someone actually did this and I found it running on our server92Post a CommentPreviewYou are viewing a single commentView all commentsYou 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.Genius.true but that's a precondition to some of the other examples as well
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.Genius.true but that's a precondition to some of the other examples as well
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.Genius.true but that's a precondition to some of the other examples as well
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.Genius.
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.
Genius.
true but that's a precondition to some of the other examples as well