C++, Ruby and CoffeeScript complexity comparison
Many people agree that C++ is very complex languages, it has pointers, templates, multiple inheritance etc. But how complex is it? C++ Rocks made some comparisons of complexities of three different programming languages : C++, Ruby and CoffeeScript.
CoffeeScript and Ruby are dynamically typed so they are significantly different from C++. However, all three are multi-paradigm general purpose languages, supporting (to a reasonable degree at least) object oriented, functional, procedural and generic programming. So this post is about C++ vs. dynamically typed languages.
In C++, Ruby, CoffeeScript: A visual comparison of language complexity. The author drawed three pictures to illustrate the complexity of these three languages. First for CoffeeScript, it has a total of 68 concepts divided into 8 major groups. Ruby is clearly more complicated, with 96 concepts in 11 major groups. It’s got a more sophisticated class model than CoffeeScript, as well as things like constants, blocks and operator overloading. There are 186 concepts in 18 groups on this diagram, double the number of Ruby concepts and almost 3 times more than in CoffeeScript!
For the detail of the complexities of each language, please visit : http://www.cpprocks.com/cpp-ruby-coffeescript-language-complexity/
RELATED
0 COMMENT
No comment for this article.