trekhleb / state-of-the-art-shitcode

💩State-of-the-art shitcode principles your project should follow to call it a proper shitcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Name variables in your native language

TTsdzb opened this issue · comments

Nowadays many things support complex variable names. So why not name them in your native language? That saves your time thinking of a name, and time is important.

Good 👍

记录=提取记录(结果)

Bad 👎

processRecord = getRecord(Result)

Better yet, name it in two(or even three) different languages so co-workers can truly appreciate your impressive language capability.

기록=提取纪录(ผลลัพธ์)

Better yet, name it in two(or even three) different languages so co-workers can truly appreciate your impressive language capability.

기록=提取纪录(ผลลัพธ์)

That's an really good idea. XD

I think that if we redefine some functions to our mother-language……
I can’t believe it.