TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Snake_Cases are easier than CamelCase for non-native speakers of English to read

5 pointsby mofosyneabout 1 year ago
This is an interesting transcript from the podcast EMBEDDED.FM under episode 460: I Don’t Care What Your Math Says https:&#x2F;&#x2F;embedded.fm&#x2F;transcripts&#x2F;460 . Where he promotes the idea of using snake case over camel cases to ensure good readability for none native English speakers.<p>&gt; EW: And there is a talk here, &quot;Crafting strong identifier naming practices.&quot; And this is going to be science-based?<p>&gt; GW: Sure, because it is actually pretty straightforward to study how recognizable different naming conventions in code are. For example, camelCase is harder for people to read, if English is not their first language. If you think, for example, of somebody coming from a non-alphabetic language like Chinese. The notion that the capitalization of the letter matters, and then we hit acronyms, and then we hit all of the other cases. There is some evidence that pothole_case is actually easier for non-native speakers of English to read, because it does not require as much implicit knowledge.

4 comments

calrainabout 1 year ago
It&#x27;s easier to read for English speakers as well.<p>When working with databases, all properties &#x2F; columns that I use are lowercase snake case.<p>Much faster to work with, you learn to type _ pretty quickly.
评论 #40185782 未加载
_akheabout 1 year ago
I&#x27;ve seen code all documented in Japanese with Japanese strings. I thought it looked awesome and wondered why people don&#x27;t just write code in their own language - why nobody has bothered to create, say, Japanese JavaScript.<p>There are some non-English based programming languages: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Non-English-based_programming_languages" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Non-English-based_programming_...</a>
评论 #40181072 未加载
phendrenad2about 1 year ago
Seems like a good area for research. Until then, it&#x27;s anecdata.
aristofunabout 1 year ago
Im curious if tabs are easier for non native speakers than spaces