New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it necessary to write comments in native language? #11
Comments
I agree with @Unknown-Chinese-User that it is better to write English comments than Chinese comments. |
Well some Chinese coders will name their vars and write their comments in Pinyin, like |
@CSharperMantle Talking about Pinyin, I'm gonna say that I prefer reading English comments than Pinyin. Pinyin in codes is totally just SHIT💩💩💩 |
|
This is Chinese Pinyin! |
@z-t-y This is absolutely shitcode and exactly what I mean! 💩 |
Seems pretty reasonable to write code in the language of your intended users.... If you don't speak English, you write shit code? That doesn't seem quite right. I get that it's just a silly little repo, but when one has an audience, perhaps one should aim for a higher level of conscientiousness. And also maybe you're just wrong- perhaps Pinyin comments are why Didi so thoroughly smoked yall 🤣 |
I speak Chinese as a native language and for me codes in pinyin looks like it's generated by a random character generator... |
Or, we can even write codes using Chinese Characters!!!😄😄😄 For example: def 输出(内容):
print(内容)
数据='你好世界'
输出(数据) |
。。。。。。人才 |
Yeah, you must read it out to get the meaning. (To make things worse, you need to guess the tone!) |
I know it's a ironical project, but I have question whether to write comments in native language.
Using Chinese will has trouble shifting input method, and it would lead to many problems between win and linux.
But using English will avoid these questions as well as practice Computer English, and it wouldn't cause any problems reading it.
The text was updated successfully, but these errors were encountered: