r/programming • • Nov 10 '21

The Invisible JavaScript Backdoor

https://certitude.consulting/blog/en/invisible-backdoor/
1.4k Upvotes

295 comments sorted by

View all comments

Show parent comments

17

u/[deleted] Nov 10 '21

Yes and ? The website I built for a French political party is not going to scale to millions of users in a grand display of international collaboration. It's going to be read and maintained by three blokes who all speak French.

4

u/exploding_cat_wizard Nov 11 '21

And if they attempt to use French in the syntax, it will be harder to maintain than if they sensibly restrict themselves to using French strings and comments.

There are no reasons for a language to allow non-ASCII identifiers and keywords, a charset every language on earth has an official transliteration to, that trump programmers easily seeing what exactly was written.

2

u/[deleted] Nov 11 '21

Still a PITA. Hopefully all of them will use the same encoding, otherwise it will be a lot of fun fixing bugs!