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

You are viewing a single thread.
View all comments View context
21 points

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

permalink
report
parent
reply
12 points
*

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.

permalink
report
parent
reply
2 points

Genius.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

Community stats

  • 3.2K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments