DarkPlayer@lemmy.world to Programming · 11 months agoUnicode tricks in pull requests: Do review tools warn us?semanticdiff.comexternal-linkmessage-square18fedilinkarrow-up189arrow-down15cross-posted to: [email protected]
arrow-up184arrow-down1external-linkUnicode tricks in pull requests: Do review tools warn us?semanticdiff.comDarkPlayer@lemmy.world to Programming · 11 months agomessage-square18fedilinkcross-posted to: [email protected]
minus-squarecbarrick@lemmy.worldlinkfedilinkEnglisharrow-up12·11 months agoThis doesn’t work for code bases written in non-English languages. Especially east asian languages. Any line containing an identifier that is also a word would be highlighted. More and more programming languages are supporting unicode identifiers for this use case.
minus-squaremrkitelinkfedilinkEnglisharrow-up11·11 months agoSo it won’t work for 0.0001% of all github projects.
minus-squaresndrtj@feddit.nllinkfedilinkarrow-up5·11 months agoI’d suggest to have the occasional look at the “most popular repos” ranking. It’s about 50% Chinese. Super-interesting sometimes as it shows completely different tech trends.
minus-squarecbarrick@lemmy.worldlinkfedilinkEnglisharrow-up1·11 months agoI know right. It’s wild that an American company primarily doing business in the West would have a bias towards English.
minus-squaremonk@lemmy.unboiled.infolinkfedilinkarrow-up6·11 months agoYeah, just don’t. Allowing to code in anything other than English is a disservice, plain and simple. Inb4, I’m not being US-centric, Latin ain’t even my native alphabet.
This doesn’t work for code bases written in non-English languages. Especially east asian languages.
Any line containing an identifier that is also a word would be highlighted.
More and more programming languages are supporting unicode identifiers for this use case.
So it won’t work for 0.0001% of all github projects.
I’d suggest to have the occasional look at the “most popular repos” ranking. It’s about 50% Chinese.
Super-interesting sometimes as it shows completely different tech trends.
I know right.
It’s wild that an American company primarily doing business in the West would have a bias towards English.
Yeah, just don’t. Allowing to code in anything other than English is a disservice, plain and simple.
Inb4, I’m not being US-centric, Latin ain’t even my native alphabet.
deleted by creator