Skip to content
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

Open
Unknown-Chinese-User opened this issue Mar 12, 2020 · 11 comments
Open

Is it necessary to write comments in native language? #11

Unknown-Chinese-User opened this issue Mar 12, 2020 · 11 comments

Comments

@Unknown-Chinese-User
Copy link

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.

@StepfenShawn
Copy link

I agree with @Unknown-Chinese-User that it is better to write English comments than Chinese comments.

@CSharperMantle
Copy link
Contributor

Well some Chinese coders will name their vars and write their comments in Pinyin, like YongHuShuJuDao rather than UserDataDao. This should be considered as a culture-specific guideline of shitcode. XD

@66Leo66
Copy link

66Leo66 commented May 10, 2020

@CSharperMantle Talking about Pinyin, I'm gonna say that I prefer reading English comments than Pinyin. Pinyin in codes is totally just SHIT💩💩💩

@andyzhouty
Copy link

let shuju =“henzhongyaodeshuju”; let yifangwanyi = shuju; var zaiciyifangwanyi =yifangwanyi; console.log(shuju); // zhe xie dou shi shi💩💩💩

@andyzhouty
Copy link

This is Chinese Pinyin!

@CSharperMantle
Copy link
Contributor

@z-t-y This is absolutely shitcode and exactly what I mean! 💩

@KirkHadley
Copy link

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 🤣

@Miigon
Copy link

Miigon commented Apr 1, 2021

I speak Chinese as a native language and for me codes in pinyin looks like it's generated by a random character generator...

@yvvt0379
Copy link

Or, we can even write codes using Chinese Characters!!!😄😄😄 For example:

def 输出(内容):
    print(内容)

数据='你好世界'
输出(数据)

@ghost
Copy link

ghost commented Jul 11, 2022

。。。。。。人才

@yvvt0379
Copy link

@CSharperMantle Talking about Pinyin, I'm gonna say that I prefer reading English comments than Pinyin. Pinyin in codes is totally just SHIT💩💩💩

Yeah, you must read it out to get the meaning. (To make things worse, you need to guess the tone!)
确实,你先要读一遍才能知道是什么意思(而且你得先知道音调!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants