And in the end...it's not such a bad language. In the real world, you only use a small part of it on any one project. In the real world, your framework or libraries matter more than the language anyway. And in the real world, performance always matters in the end.
C++ - The Forgotten Trojan Horse
11–20 of 40 posts
Re: C++ - The Forgotten Trojan Horse
#12This is the same strategy that Clojure is now using, which is why it's the only LISP that has any chance of going mainstream.
I don't think Clojure uses the same "trojan horse" strategy, i.e. it isn't a superset of the Java language with Lisp extensions. It does use the Java virtual machine, however, which allows it to use existing java libraries.
(That is, as long as Clojure code can be deployed easily as jars, and as long as Clojure doesn't create any special classloader problems because of its runtime system. Those are problems that bit me hard when I used Jython code in the Eclipse plugin framework, and I imagine any dynamic language might accidentally create classloader problems unless it was specifically designed to avoid them.)
Re: C++ - The Forgotten Trojan Horse
#13Always useful reading for anyone who thinks C++ is great and can't understand all the curmudgeons who think otherwise: http://yosefk.com/c++fqa/defective.html The rest of the FQA site is good too, but the summary is the best enumeration of all the brain damage.
Allow me to clarify: C++ is a replacement for C. C code rewritten as C++ will almost always be shorter and the same speed. The structure and function of the code will also tend to be clearer in C++.
Re: C++ - The Forgotten Trojan Horse
#14Always useful reading for anyone who thinks C++ is great and can't understand all the curmudgeons who think otherwise: http://yosefk.com/c++fqa/defective.html The rest of the FQA site is good too, but the summary is the best enumeration of all the brain damage.
"When an invalid program finally crashes (or enters an infinite loop, or goes to sleep forever), what you're left with is basically the binary snapshot of its state (a common name for it is a "core dump"). You have to make sense of it in order to find the bug."
If you write an invalid program... Then you are doing it completely wrong! (http://lemonodor.com/archives/2007/10/youre_doing_it_wrong.h...)
There are two types of peope: those who belive what they read and those who want to try out their own and then read and after that whine or ... :)
Re: C++ - The Forgotten Trojan Horse
#15Linus Torvalds thoughts on C++: http://thread.gmane.org/gmane.comp.version-control.git/57643...
Those aren't his thoughts. Those are his thoughts morphed into a flame meant to stop people from bugging him about a particular decision he made that he believed was correct and didn't want to revisit ad nauseam.
Re: C++ - The Forgotten Trojan Horse
#16Look at all that comment spam. How lovely.
Re: C++ - The Forgotten Trojan Horse
#17Linus Torvalds thoughts on C++: http://thread.gmane.org/gmane.comp.version-control.git/57643...
Re: C++ - The Forgotten Trojan Horse
#18Earlier quoted context omitted.
Those aren't his thoughts. Those are his thoughts morphed into a flame meant to stop people from bugging him about a particular decision he made that he believed was correct and didn't want to revisit ad nauseam.
Can someone post a link to his actual thoughts on C++?
I'm sure if he shared his actual thoughts, it would bring him some serious hassle, what with people wanting to debate with him. Much easier just to make it clear he isn't willing to be reasonable on the topic.
Re: C++ - The Forgotten Trojan Horse
#19Earlier quoted context omitted.
Those aren't his thoughts. Those are his thoughts morphed into a flame meant to stop people from bugging him about a particular decision he made that he believed was correct and didn't want to revisit ad nauseam.
Can someone post a link to his actual thoughts on C++?
Re: C++ - The Forgotten Trojan Horse
#20Always useful reading for anyone who thinks C++ is great and can't understand all the curmudgeons who think otherwise: http://yosefk.com/c++fqa/defective.html The rest of the FQA site is good too, but the summary is the best enumeration of all the brain damage.
Believe me, those who truly believe that C++ is great, consider some of those deficiencies to be advantages. It helps to remember, that C and C++ don't exist on an "VM island", i.e. as an isolated process, like all high-level programming languages do. They are effectively extensions of UNIX-derived operating systems, i.e. they run under "UNIX VM". They even have a garbage collection of sorts: when you exit the progra…