4 ms·
What do you mean by "Can it even be parsed reasonably"? The size of the language seems to come in large part from the fact that it wants to be an OOP and a fun
by lgieron 14y ago
What do you mean by "Can it even be parsed reasonably"?
The size of the language seems to come in large part from the fact that it wants to be an OOP and a functional language at the same time, with providing rich and sometimes bleeding edge feature-set in both domains (plus, you've got built-in tools for common problems like XML/XPath handling being a part of syntax). When you combine those, the resulting size is enormous.
IMO, it's definitely not a language for everyone and probably won't replace Java in its core domain (JEE enterprisey apps) - but, for many harder problems, the rich feature set can be a blessing.
- lucian1900 14y agoC++ famously needs parsers with about 7 passes. Most other languages have sane single-pass parsers, like recursive descent.
- cageface 14y agoYou could design a similarly powerful language without such a difficult syntax. C++ is notoriously difficult to parse.
- soc88 14y agoI would love to see an example of that.
- cageface 14y agoI would too. Unfortunately C++ is so entrenched it its domain now that any possible replacement is going to have to be more than just incrementally better. Languages like D and Rust and even Go could replace C++ in many of its applications but none so far seem to have gained much traction.