Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New thread

Name: Anonymous 2010-09-02 14:29

Best way to learn programming:

1) Learn logic
2) Learn assembly
3) Learn C

At this point, two choices: stick with C or learn whatever high-level languages/paradigms suit what you want to do.

Almost everyone does the exact reverse.  First learn BASIC or Java, then attempt to understand what's going on underneath (and probably never get around to it).

If you go from the bottom up, each step gets easier and there's no mystery hiding what's going on under the hood.

Name: Anonymous 2010-09-04 1:14

>>41
3 instructions minimum (assuming a 3-operand ISA and the arith operation sets a negative flag and the compiler uses said flag), and it'll cause inefficient use of ALUs (modern CPUs can do 2+ adds per cycle but never more than branch)

Also, that only works nicely for unsigned numbers. Most people care about signs.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List