jezen / is-thirteen

Check if a number is equal to 13.
5.65k stars 471 forks source link

Cultural insensitivity #495

Open tom-a-horrocks opened 6 years ago

tom-a-horrocks commented 6 years ago

The number 13 has biblical implications which may offend some users. Please consider fourteen or twelve instead.

yvt commented 6 years ago

Agreed, but please do not use fourteen. The number four is generally avoided in some East Asian countries due to its similarity to the sound of the word for death (死, si).

andrewgotow commented 6 years ago

Why not add syntax to invert the comparison?

!is(13).notThirteen();

Those with cultural reasons for avoiding the number 13 can now ensure that their code will not evaluate to 13.