Take C++, keep the good features (most of which have been passed on to C99), and ditch classes (unless you get ahold of a garbage collector) and the needlessly complex stuff.
Name:
Anonymous2006-08-17 5:21
D makes a very nice substitute to C++--. Its main problem is that it's so new that the language is still in flux, but they finally seem to be making a push for 1.0. If you're a system programmer it's worth playing around with.
Unrelated, but >>7 probably faps to STL and cums over boost. Yeeeeeech.
Name:
Anonymous2006-08-17 8:11
>>9
I read a bit about D and it sounded great for C++--, but I believe I also read it sucks sure it's C improved, it has overloading, and garbage collection, but it's CLOSED SOURCE, which means it's PROPIETARY, or something along those lines. Are there freely available D compilers for Lunix and Win32, and can I build commercial software with them?
Both are free (former as in speech, latter as in beer), and can be used to make commercial software. Since both use the same public domain frontend, they have similar bugcounts: http://dstress.kuehne.cn/www/dstress.html
However, the language is still very young. As much as I like it, I don't think you should write anything commercial in it just yet. Risk mitigation and all that.
tl;dr: yes, there are freely available compilers for linux and win32 that you can build commercial software with.
>>15
K&R's The C Programming Language. Oldie, but goodie.
Name:
Anonymous2006-08-17 20:51
If you read the creator of C++'s page on C++ he mentions that his original idea had things like garbage collection and no pointers. So basically his actual vision was for something more like java or C#. As it happened C++ has pointers and no garbage collection....
as for the learning, just learn C++ seriously. It will be more useful for writing everyday application than C and if you want to do some really low level stuff where C would be better suited... then you'll be able to learn C easy(assuming you've learned C++)
tl;dr
If you can learn one the other is easy to pickup so just go with C++ which you will probably see more code written in, etc.
Name:
Anonymous2006-08-17 21:38
Yes, please do learn C++. That way there will be less competition for the jobs where I don't want to gouge out my eyeballs.
Also, people like >>17 will be your colleages. Just think of all the fun you can have!
Name:
Anonymous2006-08-17 22:17
>>17
I SWEAR TO FUCKING GOD HOW FUCKING HARD IS IT TO CALL "DELETE" WHEN YOU ARE DONE WITH MEMORY, AND CREATE AND USE DESTRUCTORS. IT'S COMPUTER PROGRAMMING, NOT FUCKING ROCKET SCIENCE OR BRAIN SURGERY. FUCKING WHINEY "WAHH WAHH NO AUTOMATIC GARBAGE COLLECTION" NOOBS!
>>19
When you overload =, have several references (which you shouldn't have to know about because of encapsulation), need to create and possibly return temporary copies, etc. what the fuck am I doing, this is an obvious troll.
Name:
Anonymous2006-08-18 15:53
AFDSAFSFASD
Name:
Anonymous2006-08-18 17:57
bump lol
Name:
Anonymous2006-08-19 5:39
>>20
OK, STILL, OVERLOADING OPERATORS, ETC. AND ALL THAT BS. THAT IS WHY THERE ARE CONSTRUCTORS AND DESTRUCTORS. PUT new IN THE CONSTRUCTOR AND delete IN THE DESTRUCTOR. HOW FUCKING GODDAMN HARD IS THAT?
If you are a complete programming noob (javascript and that kind of shit don't really count), go with C++ first and try using C for file I/O. It's fairly common to do this. C++ isn't Java, but the syntax will help you out should you choose to get into Java later on.
Eclipse w/ CDT is a nice IDE to work with, try it out and good luck.
Name:
Anonymous2006-08-20 8:56
It's fairly common to do this. C++ isn't Java, but the syntax will help you out should you choose to get into Java later on.
Why would you want to do either of them?
That's like learning how to eat shit and drink piss when there's decent food only two tables over. Spare yourself.
Name:
Anonymous2006-08-20 10:02
You'll learn most of C in the process of learning C++. Don't sweat the differences.
In fact, most C++ books and classes teach C more than C++ anyhow.
They once had me working with some legacy VB, which was ugly, but only for a short while.
Name:
Anonymous2006-08-21 18:44
Bump
Name:
Anonymous2006-08-21 22:28
* Learn C.
* Learn about object orientated programming.
* Implement object orientation in C.
* Decide: Do I really need C++?
* ...
* PROFIT!
Name:
Anonymous2006-08-21 22:40
>>34
So basically all the work you have done is insignificant.
Name:
Anonymous2006-08-22 2:30
>>37
If I get paid, and enjoy myself, why should I care if you think it's "significant"?
Enjoy your miserable life writing "significant" code in something enterprisey, Mr. Cog.
Name:
Anonymous2006-08-22 2:32
>>37
So basically all the posts you have written are trolls. If you think only Java and C++ is significant, then please continue thinking so; you'll be covering the jobs I don't want. We need people like you to satisfy professional enterprise scalable web 2.0 best practices design patterns glue managers.
professional enterprise scalable web 2.0 best practices design patterns glue manager
If I ever have an office, I so want to make the plaque say that. Quoted 4tw.