是否做过标识符案例可读性研究?

发布于 2024-08-14 04:39:50 字数 316 浏览 5 评论 0原文

不同的语言对于标识符大小写有不同的标准。我看到的关于这个主题的大多数讨论都围绕特定的语言,并且充满了个人观点。而这些强烈的意见都源于创造该语言的一个人或一群人的决定。

我很想看到一个图表来显示 words_per_一分钟wordsper一分钟 的可读性如何。显然,我对更有争议的案例最感兴趣,例如 wordsPerMinute。我怀疑最易读的内容需要花费最多的时间来打字,反之亦然,但我自己当然不能确定这一点。

是否有任何与语言无关的研究来比较不同大写方案的可读性?有关打字速度的统计数据也将受到欢迎。

Different languages have different standards for identifier casing. Most discussion I see about this subject revolves around a specific language, and is loaded with personal opinions. And these strong opinions all stem from the decision of one person or a group of people who created the language.

I'd love to see a graph showing just how much more readable words_per_minute is than wordsperminute. Obviously I'm most interested in the more controversial cases such as wordsPerMinute. I suspect the most readable ones take the most time to type, and vice versa, but of course I can't be sure of this on my own.

Have there been any language-agnostic studies done comparing readability of different capitalization schemes? Stats on speed of typing would also be welcome.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

赢得她心 2024-08-21 04:39:50

Your question reminds me of this blog post.
Title: Readability, an experimental view

并安 2024-08-21 04:39:50

我记得在温哥华举行的 ICPC 2009 上有一篇关于该主题的论文,但我不相信他们的评估方法。

PDF 可以在这里找到:http://www.cs。 loyola.edu/~binkley/papers/icpc09-clouds.pdf

他们展示了一个屏幕,上面有移动的单词,人们可以尽可能快地点击给定的句子(一次使用下划线,一次使用驼峰式大小写)。这是(抱歉地说)一种毫无意义的评估方法,有几个原因,其中源代码不会移动,并且了解源代码及其所有运算符和其他特殊内容的可读性会更有趣。人物!

PS:有趣的是,有些语言使用大小写作为其语法的一部分! Haskell、Ruby 和 Self 都是我所知道的。

I recall there was a paper on that topic at ICPC 2009 in Vancouver, but I was not convinced by their evaluation approach.

The PDF can be found here: http://www.cs.loyola.edu/~binkley/papers/icpc09-clouds.pdf

They showed a screen with moving words and folks at to click as fast as possible on given sentences (once using underscores and once camel-case). This is (sorry to say) a pointless evaluation approach for several reasons, among them that source code does not move, and that it would be much more interesting to learn about the readability in the context of source code with all its operators and other special characters!

PS: interestingly enough there are some languages that use case as part of their syntax! Haskell, Ruby, and Self are among those I know of.

何以笙箫默 2024-08-21 04:39:50

我看过一些引文,但追踪真正的研究似乎相当困难。我只见过一个两个在线提供,似乎有任何真正的支持证据。

I've seen a few citations, but tracking down real studies seems to be quite difficult. I've seen only one or two available online that seem to have any real supporting evidence.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文