Hey /prog/. I have to take an Intro to C++ course for my degree (not CS). I know most if not all of you hate it. I've used it very little myself. I do know C, a bit of Smalltalk, and some Prolog.
SO:
-Should I remember what I learn about the language itself, or should I forget everything about it after the class and never speak of it again?
-Does it offer any real advantages over C?
-Is it really a bad language, or is it so complex that implementations just can't get it right? Or both? If it's truly bad, provide examples please.
-Should I remember what I learn about the language itself, or should I forget everything about it after the class and never speak of it again?
Why would you want to forget something you spent time learning?
-Does it offer any real advantages over C?
No.
-Is it really a bad language, or is it so complex that implementations just can't get it right? Or both? If it's truly bad, provide examples please.
Both. If implementers can't get it right, chances are your brain can't either.
C++ lets you make syntactic sugar, without offering any real abstraction generating tools.
C++ lets you extend C's insane typing system to make your code more "type safe" in ways that are ultimately useless.
Name:
Anonymous2011-07-23 4:35
-Is it really a bad language, or is it so complex that implementations just can't get it right?
they way you word that question there is no way you can get an intelligent answer. do you honestly think that C++'s complexity is due to mistakes in designing the syntax of the language or structure of the compiler? Do you ~really~ think that someone is just going to come along and fix C++ so it works right? C++ is not complex because Bjarne forgot to add features that make the language easy. C is a very simple language with barebones syntax, yet using the language too its full potential is extremely complicated compared to most other high level languages. So can we say C is bad because "the they just cant get the implementation right"? No, C is a complex language because its a complex language. If you want an easy language, use C# or Java. Stop wasting time asking the same stupid question over and over as to whether C++ is broken. The top computer scientists all over the world use both C and C++ and they dont waste time arqueing whether the language is "broken" like the tens of thousands of compiler experts have overlooked something.
I'll just make a pretty basic claim: the best programmers in the world think C++ is at best a distraction and just use C.
Name:
Anonymous2011-07-23 4:52
>>7
>
I'll just make a pretty basic claim: the best programmers in the world think C++ is at best a distraction and just use C.
thats only a half truth. C still holds a definate advantage over C++ in systems and embedded programming. and one might argue that systems and embedded programmers are the 'best' considering they program directly to the machine. But for large scale apps you wont see C hardly at all, the mental bookkeeping that it takes to handle thousands of lines of code would kill productivity. C++ is here to stay, good luck finding a company that will hire you to do large scale apps in C
Name:
Anonymous2011-07-23 12:24
>>8 But for large scale apps you wont see C hardly at all, the mental bookkeeping that it takes to handle thousands of lines of code would kill productivity.
Name:
Anonymous2011-07-23 13:03
>>8 But for large scale apps you wont see C hardly at all, the mental bookkeeping that it takes to handle thousands of lines of code would kill productivity.
Is this seriously an argument for C++? Ha. haha.
C++ gives no noticeable advantages for large scale development over C. All it takes is ever having used a real high level language to see that C++ has almost nothing to offer. What it does give you is not really worth the incredible amount of stupid bullshit. You end up creating your own "messaging system" or lots of "managers" everywhere and other design patterns that basically emulate some higher level language. If you're going to do that anyway, just write it in C. C++ has this ridiculous pretension that it's a high level language that is just laughable if you have any standards at all.
I've never met a C++ guru who wasn't totally unaware that he was actually just a shitty high level language designer. That kind of self awareness is very rare among their kind.
i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :) i like you :)
you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you you
Name:
Anonymous2013-07-27 21:01
Well, bad thread. Might as well delete it, mods! Thank god we have mods. They always know what's best for us.