TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Programming Best Practices to Name Variables, Methods, and Classes

2 点作者 javinpaul大约 7 年前

1 comment

metaobject大约 7 年前
I wouldn't call myself proficient in Java, but I understand the basics. I'm a C and C++ programmer at heart, so the few times that I had to write new Java code back in the day I always would prefer snake_case class names and snake_case variable names. Although I'm sure it irked the Java guy we had working for us, at least it was very easy to determine who wrote a particular block of code.