PDA

View Full Version : How to program


griffdog
Sep 11, 2013, 05:14 AM
What is the best starting language and how do I learn it for free. I have watched a ton of videos but all I could make was a calculator please help

smoothy
Sep 11, 2013, 07:42 AM
Learn machine code first... and you will understand any other higher level language a lot better. Because they all compile down to machine code.

Its NOT easy at all... but if you want to really learn what a CPU can do... you need to understand the same code it uses.

griffdog
Sep 11, 2013, 12:53 PM
Learn machine code first...and you will understand any other higher level language a lot better. Because they all compile down to machine code.

Its NOT easy at all...but if you want to really learn what a CPU can do...you need to understand the same code it uses.

What do you mean by machine code like cmd I know cmd

smoothy
Sep 11, 2013, 01:27 PM
Machine code actually I should have used the name assembly code is the hexdecimal commands that actually go on the bus into the CPU... and it does differ by cpu family...

CPU's don't understand higher level programming lanuages directly... every programming language out there compliles to machine code before it can be executed.

Machine Code (http://c2.com/cgi/wiki?MachineCode)

that gives you an idea... and yes I did find the Intel X86 and newer class cpus very difficult to learn...

The earlier ones were really fairly easy... (I'm showing my age there)

Its actually easier to program in a higher level language... but if you understand Machine code /assembly code first.. you will understand programming a lot better.

I'm more of a hardware person... most programmers are naturally born to be them... Soem of the smartest people I knoew in college couldn' write 4 lines of code to save their lives... and some people that were almost failing took to it like a fish to water...

The secret is how your thought processes work if you have it cut out to program. I'm one of those that could do it... but I had to work way too hard at it. Meaning I didn't have a natural knack for it.

smoothy
Sep 11, 2013, 02:45 PM
I was thinking about this on my drive home from work... if you are self teaching... you might find you have to skip the low level language stuff... its tough even in a classroom to learn... but give it a shot first... if you can pick it up easily.. you are a born programmer.

griffdog
Sep 11, 2013, 03:01 PM
I was thinking about this on my drive home from work.....if you are self teaching...you might find you have to skip the low level language stuff......its tough even in a classroom to learn...but give it a shot first ....if you can pick it up easily..you are a born programmer.

Thanks this is really helpful