Posted: Wed Apr 06, 2011 7:14 am
i 100% support ur word , before we learn C++ or etc other programming language , 1st things is we need to learn CCodeX wrote:Unfortunately the use of political speech generally means avoiding the truth, mincing words as well as sugar coating everything, but to summarize my view once again: if you were anywhere near me when publishing this post I'd have thrown a hot buttered crumpet at your face (the hot butter adds to the damage).
I have to point out that for a serious programmer C (which apparently isn't supported by anything ) is usually the way to go or C++*. Although C (and C++ too to a lesser extent) it's a low level language which doesn't give you the benefit of higher level things such as HTTP requests, hash tables (dictionaries) and even things like text based operations straight off the bat like you would in Python, it does however grant you much more power in your programs as C code is little abstracted from the hardware which results in you having a lot less unnecessary checks, rearrangements and other things in your resulting program which is the trade off for things like Python. One fairly good example of the kind of speed differences you can experience is with Runaway Robot solvers, my C solver took 0.008 seconds to solve level 513 (with no optimizing the algorithm) whereas an equivalent Python solution took over 10 minutes, that makes C over 7,500,000x faster in this case. C and inherently C++ (if you've read the note) is also capable of much more than Python for things and good examples of that is writing OSes (most are written in C with asm) and even writing a lot of scripting languages such as Perl, PHP and Ruby. C is not trash, Liidian is.
Next up on the Liidian bashing list is JAVA, is it really hard, complicated and less useful? JAVA is easy enough to learn that you can get books less than 200 pages on the subject of learning it which will have you set up for life with it, it is also commonly taught at universities in a range of subjects (not just first year Computer Science) due to its portability and ease of use due to it being a high level language which allows you to make GUI based applications with relative ease and is a bit like a mix of C++ and Python and is faster than Python but slower than C++. JAVA is far from useless, Liidian isn't.
Finally the educational value of Liidian's post can be summerised by this C:**Code: Select all
int x = 0xbf4d9fac; printf("Liidian's "information"'s value is about on par with %e",*((float*)&x));
*C++ is unsurprisingly derived from C, C code can even be compiled with a C++ compiler, as C++ is pretty much C with some Object Oriented extra features but just because they are there it doesn't mean you have to use them.
**That's the minimum value that can be held in an single precision IEEE-754 float which is 2[sup]-126[/sup], I wasn't harsh enough to use the minimum double value