C is an amazingly designed language. It's beautiful, simple, elegant and fast.
Everything a well designed programming language should be.
C++ then came along and shit all over Dennis Ritchie's masterpiece. Bjarne took a beautiful, simple, elegant and fast language. And kept shitting on it until all that was left was 'fast'. Dennis should of beat the shit out of him for turning his work of art into an abomination.
Then Gosling came along, surveyed the turd that Bjarne had dropped, and attempted to clean it up. He redesigned C++ to remove the crap and attain the elegance that C had. Unfortunately, in his cleaning frenzy, he over-simplified the language and sacrificed speed. In the name of simplicity he removed pointers, manual memory management, generics, operator overloading and native code compilation. A noble effort, but ultimately just as much of a failure as C++.
Name:
Anonymous2012-07-19 21:03
C++ is a different language, it was never intended to be a C clone.
Name:
Anonymous2012-07-19 21:10
should of
I hate you.
Name:
Anonymous2012-07-19 21:22
At least C++ provides alternatives to C's shitty constructs. Enjoy being stuck on a single programming paradigm. The fact that C++ has a shitload of features is not a bad thing. Most C++ programmers subset it. A lot of companies have internal C++ style guides stating what features cannot be used (like inheritance, exceptions, RTTI, etc.). We don't need a new language **looking at you, D** in lieu of a piece of paper that says NO STL.
I seriously fucking LOVE C. If I ever unfortunately have to touch sepples, I really only use simple templates, and classes to a minimal degree.
And I overload the comma operator ಠ◡ಠ
Name:
cancer.exe2012-07-19 21:40
Objective C is pretty cool.
Name:
Anonymous2012-07-19 21:43
>>4 We don't need a new language **looking at you, D** in lieu of a piece of paper that says NO STL.
huh? no STL? thats your recipe for making C++ is not using the STL? then you might as well go back to using C because the STL is the only thing holding together the shitpile of memory managing things like inheritance and containers.
Seriously, people at some point I going to look at all the generics boilerplate to make OO work in C++ and ask themselves why, why are we polishing a turd. You can get all the speed of C++ in a safe garbage collected language like D. Stop using Java/C# as an example of why gc doesnt work because they are glorified scripting languages.
C is an amazingly designed language. It's beautiful, simple, elegant and fast.
Everything a well designed programming language should be.
That's so wrong it's not even funny. Maybe (maybe) compared to C++ it is not much poorly designed. Maybe.
>>13
Yes, not the best, but at least it was simple enough to visualize the actual instructions from the source code. Back then when your typical CPU had a fraction of a recent $2 microcontroller computing power.
C'mon. It looks like you're trying to maintain C/C++¹ active by yelling about their long gone superiority. Most programmers don't need or don't care about raw speed at the cost of weird grammar issues or unsafe features, so let them for the ones who can handle them.
>>20 weird grammar issues
C does not have these, that is why I like it. It is straightforward and clear. It will punish you for being stupid though, that is true.
I'm not saying use C for everything, god no. That would be stupid. I am saying that I thoroughly enjoy programming in it, and projects that can be done in C, I do in C. Lots of text manipulation? Then not C. Etc.
___________________________ 1 Nope.
Name:
Anonymous2012-07-20 0:20
C++ is a different language, it was never intended to be a C clone.
It was intended to be Simula-67 with C syntax and no GC. Its direct predecessor was known as ``C with classes''
>>8
It was just an example. The STL is widely avoided though. Even naive algorithms you write yourself can be faster because you don't really need to cover every single "edge case." Also executable bloat.
Name:
Anonymous2012-07-20 1:27
>>14
Objective-C is a piece of shit. SEPPLES is better. No templates--you lose a Touring complete meta-language. The only reason it is used is to make shitty iPhone nonsense. Thank Jewish Jesus that Windows 8 is going to dominate that shit--kick Objective-C back to the ash heap of history in which it belongs.
If you understand the principles behind the design of C++ then you will see that it is simply an embodiment of the same concepts that have been done in C, only with more convenience. Almost all the new features in C++ map directly to C equivalents. You are not obligated to use every single feature, but should only use the ones that make sense in the current situation. While it is true that many overuse these features and create "executable bloat" as a result, that is not the fault of the language but the user.
"There are only two kinds of programming languages: those people always bitch about and those nobody uses." - Bjarne Stroupstrup
>>29
``There are only two kinds of programming languages: Lisp and crap'' - my anus.
Name:
Anonymous2012-07-20 8:58
"There are only two kinds of programming languages: those people always bitch about and those nobody uses." - Bjarne Stroupstrup
It's funny how deluded Bjarne, he actually thinks C++ is good and the only reason C is still more popular than C++ is because of "political reasons". In reality C++ has quite a few useful features, but the language additions are so badly designed that most people would rather make do with C or write slow bloated Java programs than deal with C++.
C++ is so bad that the only people that use it are pretty much forced too because C is too low level, and everything else has shit performance. If Dennis Ritchie had designed C++ everyone would still be using it for pretty much everything. Java would be used like a slightly beefier scripting language, not for serious programming.
>>29 "There are only two kinds of programming languages: those people always bitch about and those nobody uses." - Bjarne Stroupstrup
this is wrong on so many levels. first of all the only languages in current use are C/C++ and a host of VM languages, there are Java/C# and then a bunch of scripting languages. (lets not bring up functional languages, no one actually uses those in production code).
and then there is the fact that C is just an overused systems language. the idea that you needed C to avoid bloat is a myth, even Delphi was able to produce code that was as fast and efficient as C. the fact that CS was dominated by CE was the main reason that C was used so much in the past when a lot of systems level programming had to be done directly to hardware on 80s vintage personal computers. There is no longer any reason to use C for normal applications that run on a modern OS
Name:
Anonymous2012-07-20 14:06
>>27
I wasn't even talking about the OS. Windows 8 will support writing apps in a variety of languages since it's based on COM. So you're not stuck with shitty Objective-C as with Apple.
>>31
I don't get why people think C is well designed, or Dennis Ritchie was a good language designer. C lacks design. A C compiler, especially back then, was basically a macro preprocessor for assembly. It's like what Coffeescript is to Javascript. Now look at Haskell, Smalltalk, or Go; that's what a well designed language looks like.
>>36
C is still the perfect systems and embedded programming language. Electrical Engineers still pretty much only use C. There is no other language that gives such static control of data on memeory, the typing system is very controllable. It still cant be beat.