Semicolon vs Apostrophe Frequency in Computer Languages

By Xah Lee. Date: . Last updated: .

Here's a table of their frequency.

Semicolon and Apostrophe Frequency in Computer Languages
langsemicolon ;apostrophe '
(single quote)

see chart at Computer Languages Characters Frequency

If you code {C, C++, Java}, then semicolon is far more frequent.

If you code in {Python, Ruby, Bash}, apostrophe is far more frequent.

If you code in {PHP, Perl, JavaScript}, apostrophe is still more frequent.

And in English, the semicolon is almost never used, apostrophe is used often. (For example, “it's”, “that's”, 'single quotes', ….)

Language Syntax

if you want to look at the syntax of languages, see:

Computer Languages Characters Frequency

See also: Arrow Keys Efficiency: vim HJKL vs IJKL

Keyboard Layouts

  1. qwerty heatmap  to build a fire-s365x171
    Alternative Layouts
  2. Alt Graph, Compose, Dead Key
  3. Most Efficient Layout?
  4. Maltron vs Dvorak
  5. Colemak vs Workman


  1. Dvorak Layout
  2. Hardware vs Software Dvorak
  3. Myth of QWERTY vs Dvorak
  4. Dvorak vs Colemak
  5. Blank Keycaps vs Labeled Keys
  6. List of Dvorak Keyboards
  7. Qwerty to Dvorak, A PhD thesis, 1978


  1. International Layouts
  3. German
  4. German Ergonomic
  5. French
  6. New French Layout
  7. French Ergonomic
  8. French Letter Frequency
  9. Russian
  10. Portuguese Ergonomic
  11. chinese pinyin input 2017-07-19
    Chinese Input Methods
  12. Pinyin Letter Frequency 拼音字母頻率
  13. Japanese input method menu 39864
    Japanese Input Method

Layout Efficiency

  1. English letter frequency To Build a Fire  Jack London 50383
    Char Frequency Counter
  2. Most Efficient Layout for Numbers?
  3. Semicolon vs Apostrophe Frequency
  4. Inverted Number Row Better?

If you have a question, put $5 at patreon and message me.