By reading your posts...I got the impression that Assembly is a B*tch to learn...so I'll heed your advice (most people's adivce anyway) and go with C++ for power,flexibility,mobility...
Printable View
By reading your posts...I got the impression that Assembly is a B*tch to learn...so I'll heed your advice (most people's adivce anyway) and go with C++ for power,flexibility,mobility...
Assembly isn't that hard, but C/C++ code is far more "readable".
if(a == 4)
{
do something
}
which is in C++, is easier to understand for someone that doesn't know either language than
MOV AX,A
MOV BX,4
CMP AX,BX
JZ DOSOMETHING
JMP ENDOFDOSOMETHING
DOSOMETHING:
<does domething>
ENDOFDOSOMETHING:
<keeps on with the rest of the program>
which is in Assembly. And it's quite shorter too. But once you get used to them, both the languages can be unserstood as well as reading english
However for someone to be able to really do something with your piece of assembly code, you'd have to specifiy for which processor/instruction set it is coded... ;)
Ammo
Yup, it can be a bitch to learn, and re-learn for every platform... And also, building anything of substance in asm means attrociously, painfully long hours of coding and incredibly difficult time re-reading, debugging and mainting the code..Quote:
Originally posted by SolidPez
By reading your posts...I got the impression that Assembly is a B*tch to learn...so I'll heed your advice (most people's adivce anyway) and go with C++ for power,flexibility,mobility...
In other words, nobody writes whole programs in asm anymore; that's why 3rd and 4th generation languages have been invented... Most of the time, asm will be used to code a specific alogrithm that will be used inside a 3rd/4th GL...
Ammo
This is probably an unpopular way to learn programming, but the first "language" I learned was Pascal. Not powerful, not flexible, barely even useful. However in it's simplicity it teaches very basic elements of programming that make learning other, more powerful, languages much easier and faster. Now I prefer c++, but I also deal with VB because of it's easy integration with m$ products.
When talking about programing languages, flexibility=power. In any case, hex tears up any language, but who really uses hex anymore except for sub-programming.
a combination of C , C++ , Assembly will be a guided missile with atomic warhead. ready to strike anywhere...
intruder...
"Powerful" is a term that can mean opposite
things in programming.
In a high level language, a single statement
can invoke huge library routines
and accomplish impressive things.
This is powerful.
In assembly language, you can write
the subroutines that touch and intimately
control hardware, manipulate individual
bits etc.
This too is powerful.
:cool:
the all powerful Pascal.
Thank you. Don't applaud, just throw money.
I use c/c++, perl, and assembly,
these three get my vote,
java sounds like a good one too, but i've never looked into it