Semicolon vs Apostrophe Frequency in Computer Languages

, , …,

Here's a chart of their frequency.

langsemicolonapostrophe
Java8.0%0.5%
C6.9%0.8%
C++3.5%0.2%
Python0.2%10.6%
Bash1.1%6.9%
PHP5.1%9.5%
Ruby0.3%4.4%
Perl4.9%6.1%
JavaScript5.2%6.8%

〔☛ Computer Languages Character Distribution

So, it depends on language. If you code {C, C++, Java}, then semicolon is much more frequent. If you code in {Python, Bash, PHP, Ruby, Perl, JavaScript}, then apostrophe is far more frequent. And in English, the semicolon is almost never used at all as if non-existent, but apostrophe is used often. (⁖ “it's”, “that's”, 'single quotes', ….)

See also: Keyboard Layouts Fight! Dvorak, Colemak, Workman, NEO, Bépo, …

blog comments powered by Disqus