I want to start with C++ but I'm not sure if I'm good enough. I heard so much about that you need to be good at math and I'm really not good at math. It's not like I have a hard time learning it, I just haven't done much math in my life. Is it really THAT important to be good at math if you want to get into programming?
Also, do you have any book to recommend to a beginner? I never touched anything like programming before.
Learn C, maybe learn some asm.
Learn a functional language or two, doing as >>8 said is a good start.
Learn some OO(or mixed) language if you still want to, preferably not SEPPLES.
>>11
All languages have some pros and cons, what is best suited for your task depends on the task itself. Some languages can be quite verbose and be tricky to write in for certain tasks, but they could benefits in other forms(speed for example), others might be slower and have some other limitations, but they could make your job much easier at the cost of their limitations, some languages are better for certain problem domains than others, it's best you know a couple of different kinds of languages to be able to pick what's more suitable for your task.
For your question: "Python or C?" Python can be considered closer to a scripting language, this means your code will be shorter and maybe easier to write for certain generic tasks, C code will be more verbose(you do your own memory management), and you'll have complete control over what your application does, and the code will be much closer to the hardware(C is effectively a glorified portable assembler), also run much faster if done properly, at the expense of your effort. Even so, there are domains where both Python and C could work, but they may not be the ideal solution to your problem. Learn more and make your choice.
>>17 (C is effectively a glorified portable assembler)
Yeah, because you have to do your own register management in C too. And you have no control structures in C either. And C is typeless too. Stop parroting moronic hyperboles, you fucking douche.
>>18
Modern macro assemblers have control structures(if, while) and types(such as user defined structs), and asm isn't typeless, usually the only types are qwords/dwords/words/bytes, but most macro assemblers have proper string support. You don't have to do register allocation in C, since it's portable, it's not forcing you to write for any specific arch. One can read asm(even without any macros) and see C, and one can read C and imagine approximatively how that code will look compiled ( of course each C compiler will in general behave differently, in terms of what optimizations they can perform, and in ways they translate various constructs to asm, and depending on what optimization options you have selected).
I'm not saying you can do the same as you can do in C in your favorite macro assembler, just that those languages are closer than you think.
Name:
Anonymous2009-01-13 17:52
When I use an assembly language, I don't want five HUNDRED worthless instructions! I just want a MIPS!!
Not an "x86". Not an "ARM". Those aren't even WORDS!!!! MIPS! MIPS! MIPS IS THE STANDARD!!!
Name:
Anonymous2009-01-13 17:53
>>21
Not even the most rose-tinted nostalgic can claim that Commodore BASIC V2 was anything near best. Commodore BASIC V7 was OK if nothing special, but V2 is justly regarded as one of the worst BASIC implementations ever, even among Commodore fans.
Name:
Anonymous2009-01-13 18:11
Yo, protip : DONT learn C++ I highly suggest you start off with Web Development first and you start off with PHP and MySQL, trust me you will fucking wish you knew who the fuck I am just so you can thank me after you actually learn it, PHP is a very powerful language especially in web development, its awesome because you don't need to bother with a compiler or anything, all sorts of free webhosts have PHP and you can learn from the PHP manual and theres many resources on the internet, the thing about PHP is that it has a C / C++ like syntax. I suggest you start off with PHP and then you try C# which is like JAVA / C / C++ or you try JAVA either way they will both seem much easier after you learn PHP because PHP teaches you the fundamentals of programming, once you learn the fundamentals all you have to learn is syntax and limitations (what the language can / can't do) and JAVA , C , C++ , C# , PHP , Vala (C with a C# syntax currently being developed) they all have the same syntax style, same commenting, ect... PHP is the best starting language imo, I've been in the programming 'scene' a whiile and recently started learning PHP its clarified so much for me, like you I suck at math too, and in my opinion, C++ and C are languages that should only be used for creating operating systems, or just the core components of certain apps (games and such) then theres C# , JAVA , PHP ect... imo C# is you other really awesome choice as a first language, its a highly growing computer language by Microsoft, and you can use it on Linux too (with mono) its very good its like C# so much. Anyways good luck.
>>7
Wait, what? Forth is the only language that provides facilities for abstraction while staying close to the machine.
Name:
Anonymous2009-03-06 5:40
From his old job and he loves myspace way too fucking much for me like you do need to have a background as a programmer which it did it in the box at the same time it with school holidays or pot harvest season or welfare check mail day?
Name:
Anonymous2010-12-17 1:24
Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?
If you answered "Yes" to all of the above questions, then GNAA(GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!