Reserved keywords count by programming language?

Lists of keywords in …

  • ANSI COBOL 85: 357
  • SystemVerilog: 250 + 73 reserved system functions = 323
  • VHDL 2008: 115 reserved words
  • C#: 79 + 23 contextual = 102
  • F#: 64 + 8 from ocaml + 26 future = 98
  • C++: 82
  • Dart: 54
  • Java: 50 (48 without unused keywords const and goto)
  • PHP: 49
  • Ruby 42
  • JavaScript: 38 reserved words + 8 words reserved in strict mode only
  • Python 3.7: 35
  • C: 32
  • Python 2.7: 31
  • Go: 25
  • Elm : 25
  • Lua: 22
  • CoffeeScript: 19, not
    necessarily “reserved”, plus ~50 to avoid from JS
  • Smalltalk: 6 pseudo-variables
  • iota: 2

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)