49

Is there a ranking or table of the number of reserved keywords in various programming languages?

I do not need to know the keywords per se but how many keywords languages like C, C++, C#, Perl, Python, PHP, Smalltalk, Lisp, and Ruby have.

3

1 Answer 1

82

Lists of keywords in ...

11
  • Thanks aioobe. You said searching for "<language> keyword" is enough but most of the results list functions instead of reporting the amount, so you have to count manually each function? Take the first hit of Perl for example: perldoc.perl.org/perlfunc.html
    – Ray Doyle
    Commented Feb 18, 2011 at 10:14
  • yeah. I punch in wc -l <enter> in my terminal, and paste in the lists.
    – aioobe
    Commented Feb 18, 2011 at 11:51
  • 1
    Damn I was hoping to find SQL
    – JMG
    Commented Sep 3, 2015 at 19:20
  • 3
    btw, would be nice if someone compiled all these keywords in the single table/list (which could be filtered based by languages selected).
    – Dan M.
    Commented Aug 9, 2016 at 14:54
  • 1
    @maja thanks, went through the list and updated broken links.
    – aioobe
    Commented Jul 11, 2020 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.