Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › I would like to learn how to program
New Posts  All Forums:Forum Nav:

I would like to learn how to program - Page 2

post #11 of 28
Thread Starter 
Quote:
Originally Posted by enorbet2 View Post
Not quite but close. What I posted before is Assembly which is the lowest level language that still uses text AFAIK. If it uses any text at all it must be compiled and linked so that everything is converted to Machine Language which is all 0's and 1's.

On the flip side, there are databases, some online, of compiled objects commonly used since there is no compelling need to reinvent the wheel say in programming a radio button for an app. So instead of you having to write one from scratch, you can pick one (or one closest and mod it) and do Object Coding sorta like "Legos:.
Thanks you have been very helpful! +rep
First Build
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 3.8ghz P7P55D-E DELUXE GTX 470 Kingston hyperX 8gb ddr3 
Hard DriveOSPowerCase
vertex 2 60gb and other random hard drives Windows 7 64-bit Corsair hx 750w Coolermaster 690 
  hide details  
Reply
First Build
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 3.8ghz P7P55D-E DELUXE GTX 470 Kingston hyperX 8gb ddr3 
Hard DriveOSPowerCase
vertex 2 60gb and other random hard drives Windows 7 64-bit Corsair hx 750w Coolermaster 690 
  hide details  
Reply
post #12 of 28
Hey, if you're planning a future in Programming, or if you plan on get any good at it, i would in fact advise you to go with a compiler language. This is because a compiler language allows one to think differently from say a scripting language (such as Python). A compiler language is indeed slightly tougher to pickup (like C or Java) but it would give you the grounds and the discipline to learn programming properly.

The difference between a compiled language and an interpreted one is the manner of execution. Python is a script and is executed immediately through the interpreter. But java or C++ needs to be compiled before, to truly allow for say Java's object oriented approach to work well. This allows you to build different sections of a program's modules(java) rather than separate files or one long file which need to be executed hierarchically(python or even CSS lol).

If you begin with say Python, you risk becoming too comfortable with the forgiving nature of its interpreter. Java is a far more rigid language and would allow you to build your logic as a true programmer. Not that python won't do that, its just that you may find it boring or too cumbersome to learn java or something else like that if you dont begin with it.

Subsequently, since you began with HTML and liked it, i suggest you go ahead and learn that well with CSS and as you begin seeing your limitations you will automatically search for more. This will then impact your decision on what language to take.


but by all means if you really want to learn Python go ahead, its a great language.
Edited by Razultull - 1/16/11 at 10:48am
Bernard
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 3.71 Ghz | 1.17v Rampage III Extreme EVGA GTX 580 Corsair Dominators GTX 6gb 1925MHz 7-7-7-20 
Hard DriveOptical DriveOSMonitor
64Gb C300 SATA 6 Gb/s, 2 x 320 Gb F4's RAID 0 ASUS 24x -_- Windows 7 Home(Who needs ultimate?!) ASUS VH226H 21.5 Inch 1080p 
PowerCaseMouseMouse Pad
Corsair HX1000 + Custom Sleeving NZXT Tempest Evo Razer Naga NONE 
  hide details  
Reply
Bernard
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 3.71 Ghz | 1.17v Rampage III Extreme EVGA GTX 580 Corsair Dominators GTX 6gb 1925MHz 7-7-7-20 
Hard DriveOptical DriveOSMonitor
64Gb C300 SATA 6 Gb/s, 2 x 320 Gb F4's RAID 0 ASUS 24x -_- Windows 7 Home(Who needs ultimate?!) ASUS VH226H 21.5 Inch 1080p 
PowerCaseMouseMouse Pad
Corsair HX1000 + Custom Sleeving NZXT Tempest Evo Razer Naga NONE 
  hide details  
Reply
post #13 of 28

"Bucky" of TheNewBoston has excellent Python tutorials.

Starts here:

post #14 of 28
Start off with something simple.

Beeperbot.

Give it a google search and learn the mere basics of programming.
post #15 of 28
Take a look at this tutorial:
http://www.cplusplus.com/doc/tutorial/

This will help you learn C and then later move into C++.

I have taken several programming courses in college and I can say with confidence that this guide does an excellent job of covering the basics. Follow it from the beginning and you will build a solid foundation for learning programming concepts.

This guide also takes steps to prevent people from developing bad coding habits.
post #16 of 28
Start with a higher level language and work down.
I learned with C++, C# and VB and it wasn't too bad, but if you can go higher do so.
Personally I really enjoy assembly, but its REALLY specific and technical, and its about as low level as you can get.
Micro Mule
(11 items)
 
  
CPUMotherboardGraphicsRAM
i7 6700k MSI Z170I Gaming Pro AC Gigabyte GTX 1070 G1 Gaming 16GB GSkill Ripjaws V DDR4 3200 
Hard DriveCoolingMonitorPower
250GB Crucial MX200, 960GB Adata , 1TB WD Black Noctua NH-L12 LG 27UD68 4k Seasonic M12II 620W 
CaseMouseAudio
Corsair Obsidian 250D Logitech Performance Mouse MX Topping TP-30 Mk2, 2x Polk M10, Sony MDR-7506 
  hide details  
Reply
Micro Mule
(11 items)
 
  
CPUMotherboardGraphicsRAM
i7 6700k MSI Z170I Gaming Pro AC Gigabyte GTX 1070 G1 Gaming 16GB GSkill Ripjaws V DDR4 3200 
Hard DriveCoolingMonitorPower
250GB Crucial MX200, 960GB Adata , 1TB WD Black Noctua NH-L12 LG 27UD68 4k Seasonic M12II 620W 
CaseMouseAudio
Corsair Obsidian 250D Logitech Performance Mouse MX Topping TP-30 Mk2, 2x Polk M10, Sony MDR-7506 
  hide details  
Reply
post #17 of 28
Good points Razultull and I agree about not putting off for too long and getting too comfortable. I also mentioned Pascal which is a compiled language as opposed to scripted but it is so basic that this is the reason it is still used in many schools. It teaches good technique and useful fundamentals. The only downside to it is that little is done with it anymore outside of school.

OTOH C just isn't all that hard once you have those rudiments down.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #18 of 28
The best books to start out with a higher level language are any of the accelerated books:

Accelerated C++
Accelerated C#
Accelerated Java

They all go over the basics extremely well, and delve into deeper topics later in the book. If I was starting all over again, I would pick up those books.

Avoid "For Dummies" books at all cost, they skirt around the main ideas and don't really explain everything you need to know.

Personally, I would start with C++ or C# as your starting language. C++ is a lot more complex, but then you actually get to learn things such as memory registers and pointers, which I feel are essential to learning how computers work.

C++ is probably one of the most difficult and yet simplistic languages you can learn. It's a perfect blend between a higher level language (easy syntax, classes, abstraction, etc.) and lower level language (memory allocation, pointers, memory management, etc). If you do decide to learn C++ first, you will actually learn more about how your computer works, rather than just learning Java or C# where the garbage collection does most of this stuff for you.

My
Edited by CovertCover - 1/16/11 at 11:02am
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-930 D0 3.8Ghz ASUS P6T SE PowerColor HD5870 1GB 6GB Corsair Dominator XMS3 8-8-8-20 1200Mhz 
Hard DriveOSMonitorPower
1TB Wester Digital Windows 7 Home 64bit Acer 23" XFX 850w Black Edtion 
Case
HAF 932 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-930 D0 3.8Ghz ASUS P6T SE PowerColor HD5870 1GB 6GB Corsair Dominator XMS3 8-8-8-20 1200Mhz 
Hard DriveOSMonitorPower
1TB Wester Digital Windows 7 Home 64bit Acer 23" XFX 850w Black Edtion 
Case
HAF 932 
  hide details  
Reply
post #19 of 28
Quote:
Originally Posted by Domino View Post
Start off with something simple.

Beeperbot.

Give it a google search and learn the mere basics of programming.
No, Karel J Robot (in Java) is not the best place to start.

Granted that's how I started in class, but I disagree. There are better languages to start learning, and following the Karel example, you don't really get to truly understand classes, methods, and hierarchy.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-930 D0 3.8Ghz ASUS P6T SE PowerColor HD5870 1GB 6GB Corsair Dominator XMS3 8-8-8-20 1200Mhz 
Hard DriveOSMonitorPower
1TB Wester Digital Windows 7 Home 64bit Acer 23" XFX 850w Black Edtion 
Case
HAF 932 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-930 D0 3.8Ghz ASUS P6T SE PowerColor HD5870 1GB 6GB Corsair Dominator XMS3 8-8-8-20 1200Mhz 
Hard DriveOSMonitorPower
1TB Wester Digital Windows 7 Home 64bit Acer 23" XFX 850w Black Edtion 
Case
HAF 932 
  hide details  
Reply
post #20 of 28
When people ask this question I always think its wise to build up knowledge of solving programming problems in a none language logical way, ie Write down in words the steps you would need to go through. This is how to program and NOT learning parrot fashion a certain syntax of a single language.

It would also help if you could do this with other people and see what each other comes up with.
    
CPUMotherboardGraphicsRAM
I7 920 Gigabyte EX58 XFX Radeon 4870 X2 6GB Corsair 
Hard DriveOptical DriveOSMonitor
500GB Maxtor LG DVDRW Vista Ultimate x64 2 x Edge IO 22" 
KeyboardPowerMouseMouse Pad
Razer Arctosa XFX 800w BTC Cheetah Gaming Mouse None 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
I7 920 Gigabyte EX58 XFX Radeon 4870 X2 6GB Corsair 
Hard DriveOptical DriveOSMonitor
500GB Maxtor LG DVDRW Vista Ultimate x64 2 x Edge IO 22" 
KeyboardPowerMouseMouse Pad
Razer Arctosa XFX 800w BTC Cheetah Gaming Mouse None 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › I would like to learn how to program