Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › I want to learn coding but where do I start?
New Posts  All Forums:Forum Nav:

I want to learn coding but where do I start? - Page 2

post #11 of 39
Quote:
Originally Posted by JQuantum View Post

*snip*

Oh... I realize you just want to learn how to code... basically learning to code is easy and learning the programming language is different. If you know what you want, and you know how to get there//do it then IMO you are a programmer already. Now to actually put the code down you need to know a language. Pick something easy to start. Anyways I'm getting side tracked... to code well imo it'll depend on your own logic and your ability to see the big picture.

^ This guy has got it. It actually relates back to my favorite article from the wiki I mentioned
Quote:
Originally Posted by From the wiki 
The purpose of programming is to automate processes.

The practice of programming is one of teaching the computer to do something.


Thus, in an important sense, you must know how to do it before you can teach a computer to do it. -- JeffGrigg

The purpose of programming is to automate a process, the practice is teach the computer what that process is and how to automate it.

So there are two main steps to programming learn the entire process in every single detail (I mean every single detail there is in the process) then tell the computer all of that.

The first part is usually somewhat easy. Say you want to write a program that is a calculator, that is you type in a equation and it tells you the answer. Before you type a single key to write the program, you first must know everything about how you calculator will operate.
  • What if a user types in something that is not a equation?
  • What is the user types in something the results in a number bigger than what my variable can hold?
  • How will my user type in the equation
I could go on and on and on and on about just a calculator. If you miss or mess up entering any of the details that would be contained in the above list, then your calculator will not be a calculator (because it is missing a detail (DUH)).


So see, there is a huge thought process behind each program you write. You must know every single detail of what you are writing before you write it. Otherwise, wth are you writing? just smashing your face on the keyboard is all I could presume.

EDIT: though... say you calculator is inside of a window that contains all the numbers buttons and the enter button and the operations. Well you could just detail out the window and write that. Then since you know that it all works, you can now write the logic to actually calculate. And the logic to read user input, and logic to clean up the input, et.

This is also a main idea in computing. Once something is written and it is tested to work. You never have to write it again. This is the case with API's. Application Programmer Interface. This is a library of already written things. There might be an actual calculator written in some API somewhere, all you do is download the API and include it into your program. (this is now all based on the mechanics of the programming language)
Edited by SkeeterSkeeter - 3/1/13 at 11:43am
    
CPUMotherboardGraphicsGraphics
Intel i7 3570K Evga Z77 FTW Radeon 5830 Radeon 5830 
GraphicsRAMCoolingOS
Radeon 5830 Ballistics Custom water cooling loop Windows 7 64bit Ultimate 
MonitorKeyboardPowerCase
HiSense Television and Old Monitor Razer Arctose Evga 1500W (OC's to 1650W; yes the PSU will OC) Coolermaster haf xb 
MouseMouse PadAudioOther
Chinese gaming mouse Desk, my leg, my bed, carpet, anything that it ... Volk Audio (Rip off system; given to me after s... Fleshlight installed inside of case 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel i7 3570K Evga Z77 FTW Radeon 5830 Radeon 5830 
GraphicsRAMCoolingOS
Radeon 5830 Ballistics Custom water cooling loop Windows 7 64bit Ultimate 
MonitorKeyboardPowerCase
HiSense Television and Old Monitor Razer Arctose Evga 1500W (OC's to 1650W; yes the PSU will OC) Coolermaster haf xb 
MouseMouse PadAudioOther
Chinese gaming mouse Desk, my leg, my bed, carpet, anything that it ... Volk Audio (Rip off system; given to me after s... Fleshlight installed inside of case 
  hide details  
Reply
post #12 of 39
Thread Starter 
Hmmmm. It seems overwhelming I guess I'll just wait for school to learn. smile.gif
post #13 of 39
Quote:
Originally Posted by CNCoRIDDoR View Post

Hmmmm. It seems overwhelming I guess I'll just wait for school to learn. smile.gif

It really isn't. I would recommend picking up something like Java (easy to learn and is a hold you hand kind of language, also starts you off with knowledge about Object Oriented Programming, which I love) and looking at The New Boston videos,

Are you going to college to be a Computer Scientist or a programmer? Two completely different things.
Griever
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570K ASUS P8Z77-V Deluxe MSI R7950 Twin Frozr 3GB Corsair Vengeance 16GB 1600Mhz 
Hard DriveCoolingOSMonitor
OCZ Vertex Plus 120GB Corsair h100 Windows 7 Professional Asus VS228H-P 21.5In 
KeyboardPowerCase
Razer Black Widow Ultimate Corsair AX850 NZXT Switch 810 White 
  hide details  
Reply
Griever
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570K ASUS P8Z77-V Deluxe MSI R7950 Twin Frozr 3GB Corsair Vengeance 16GB 1600Mhz 
Hard DriveCoolingOSMonitor
OCZ Vertex Plus 120GB Corsair h100 Windows 7 Professional Asus VS228H-P 21.5In 
KeyboardPowerCase
Razer Black Widow Ultimate Corsair AX850 NZXT Switch 810 White 
  hide details  
Reply
post #14 of 39
dont start with java ... that would be the most important thing ever.

i would suggest you start by installing linux on your sistem and then start writing bash scripts for various stuff ... do this until you feel at home writing scripts

then i would suggest C, yes good old C ... because it has very good old style variables like integers, floats, double etc etc. Then do some simple math with it ... like linear functions, some easy logic etc etc

once you feel at home with C then its probably smart to dive into c++ and the vastness it allows ... then just have fun with optimizing your code and making it as elegant as possible

oooo also: stay away from fortran unless you are into HPC, then fortran is the easisest way to go

after you feel comfortable with c++ and imho only then start writing java, python, C# and the rest of those high level languages
HexaCandy
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Xeon W3680 (ES) Asus P6T Deluxe GigaByte GTX 670 Kingston KHX1600C9D3/4GX 
Hard DriveHard DriveCoolingMonitor
Intel SSD 330 180GB WD Green 3TB x2 EKWB Supreme HF + 240 rad HP ZR2740w 
KeyboardPowerCaseMouse
Steelseries 6Gv2 cheapo 750w (needs replacing) CM 690 II Advanced Razer Deathadder 
Mouse PadAudioOther
Razer Goliathus Asus Xonar Essence STX Speakers: RP 5 
  hide details  
Reply
HexaCandy
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Xeon W3680 (ES) Asus P6T Deluxe GigaByte GTX 670 Kingston KHX1600C9D3/4GX 
Hard DriveHard DriveCoolingMonitor
Intel SSD 330 180GB WD Green 3TB x2 EKWB Supreme HF + 240 rad HP ZR2740w 
KeyboardPowerCaseMouse
Steelseries 6Gv2 cheapo 750w (needs replacing) CM 690 II Advanced Razer Deathadder 
Mouse PadAudioOther
Razer Goliathus Asus Xonar Essence STX Speakers: RP 5 
  hide details  
Reply
post #15 of 39
Thread Starter 
Programmer.
post #16 of 39
Quote:
Originally Posted by liskawc View Post

dont start with java ... that would be the most important thing ever.

i would suggest you start by installing linux on your sistem and then start writing bash scripts for various stuff ... do this until you feel at home writing scripts

then i would suggest C, yes good old C ... because it has very good old style variables like integers, floats, double etc etc. Then do some simple math with it ... like linear functions, some easy logic etc etc

once you feel at home with C then its probably smart to dive into c++ and the vastness it allows ... then just have fun with optimizing your code and making it as elegant as possible

oooo also: stay away from fortran unless you are into HPC, then fortran is the easisest way to go

after you feel comfortable with c++ and imho only then start writing java, python, C# and the rest of those high level languages

I'm a Computer Science major and I started with Java, then moved on to C, c#, c++, python, assembly, etc.. Java holds your hand while you program, it teaches you the basics of computer science without any of the difficult tasks that can be taunting to beginners (memory management, making sure you don't go over array's size limit, pointers, etc).

I think it's best to start with the easiest languages first, to teach you the basics. Then move on to the more difficult ones when you are more knowledgable about the concepts.
Griever
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570K ASUS P8Z77-V Deluxe MSI R7950 Twin Frozr 3GB Corsair Vengeance 16GB 1600Mhz 
Hard DriveCoolingOSMonitor
OCZ Vertex Plus 120GB Corsair h100 Windows 7 Professional Asus VS228H-P 21.5In 
KeyboardPowerCase
Razer Black Widow Ultimate Corsair AX850 NZXT Switch 810 White 
  hide details  
Reply
Griever
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570K ASUS P8Z77-V Deluxe MSI R7950 Twin Frozr 3GB Corsair Vengeance 16GB 1600Mhz 
Hard DriveCoolingOSMonitor
OCZ Vertex Plus 120GB Corsair h100 Windows 7 Professional Asus VS228H-P 21.5In 
KeyboardPowerCase
Razer Black Widow Ultimate Corsair AX850 NZXT Switch 810 White 
  hide details  
Reply
post #17 of 39
To just get an idea of the basics of programming do the JavaScript courses on codecademy.com. If you want to start learning a language like Java go to thenewboston.org. programming isn't as hard as it seems it just takes some thinking.
     
CPUMotherboardRAMHard Drive
4770k @ 4.2 ASROCK Z87E-ITX G.skill Ripjaws X 2x4GB OCZ Agility 120 GB 
Hard DriveHard DriveHard DriveOptical Drive
1tb Seagate 3tb Seagate MyDigitalSSD 128GB (Ubuntu) LG Blu-Ray reader 
CoolingCoolingOSOS
COOLER MASTER Seidon 120M Sythe Gentle Typhoon AP-15 Windows 8.1 Pro Ubuntu 14.04 
MonitorKeyboardPowerCase
AURIA EQ276W 27" Gigabyte Osmium Rosewill HIVE 750W Cooler Master Elite 130 Mini-ITX 
MouseMouse PadAudioAudio
GIGABYTE GM-M6900 SteelSeries QcK Mini Creative Inspire T10 Sennheiser HD 558 
CPUMotherboardGraphicsRAM
Intel Pentium G3220 MSI H81M-P33 ASUS 7790 DC2 4GB DDR3 
Hard DriveOSKeyboardPower
320GB WD Ubuntu 14.04 Cheepo HP OCZ ModXStream Pro 600W 
CaseMouse
Cheepo Compaq Cheepo HP 
  hide details  
Reply
     
CPUMotherboardRAMHard Drive
4770k @ 4.2 ASROCK Z87E-ITX G.skill Ripjaws X 2x4GB OCZ Agility 120 GB 
Hard DriveHard DriveHard DriveOptical Drive
1tb Seagate 3tb Seagate MyDigitalSSD 128GB (Ubuntu) LG Blu-Ray reader 
CoolingCoolingOSOS
COOLER MASTER Seidon 120M Sythe Gentle Typhoon AP-15 Windows 8.1 Pro Ubuntu 14.04 
MonitorKeyboardPowerCase
AURIA EQ276W 27" Gigabyte Osmium Rosewill HIVE 750W Cooler Master Elite 130 Mini-ITX 
MouseMouse PadAudioAudio
GIGABYTE GM-M6900 SteelSeries QcK Mini Creative Inspire T10 Sennheiser HD 558 
CPUMotherboardGraphicsRAM
Intel Pentium G3220 MSI H81M-P33 ASUS 7790 DC2 4GB DDR3 
Hard DriveOSKeyboardPower
320GB WD Ubuntu 14.04 Cheepo HP OCZ ModXStream Pro 600W 
CaseMouse
Cheepo Compaq Cheepo HP 
  hide details  
Reply
post #18 of 39
Quote:
Originally Posted by CNCoRIDDoR View Post

Any books you guys recommend to a noobie?

Structure and Interpretation of Computer Programs
Meh
(14 items)
 
   
CPUMotherboardGraphicsRAM
i5 760 @ 3.8 Ghz GA-P55-USB3 Gigabyte GTX 460 16GB(4x4) Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Samsung Spinpoint F3 1TB Asus Cheapo Corsair H70 Arch Linux 
MonitorKeyboardPowerCase
LG 26LH20 HDTV Das Model S Ultimate Silent Corsair HX850 Lian Li(Lancool) PC-K62 
MouseMouse Pad
Logitech MX 518 My desk. 
CPUMotherboardGraphicsRAM
Intel Core i5-4200U Toshiba Intel HD Graphics 4400 6 GB DDR3L @1600 Mhz 
Hard DriveOptical DriveCoolingOS
750 GB 5400RPM SATA HDD DVD SuperMulti drive Stock fans Arch Linux 
MonitorKeyboardPowerCase
15.6" 1920x1080 Screen Toshiba Toshiba battery and A/C adapter Toshiba 
MouseAudio
Touchpad Intel HD Audio 
  hide details  
Reply
Meh
(14 items)
 
   
CPUMotherboardGraphicsRAM
i5 760 @ 3.8 Ghz GA-P55-USB3 Gigabyte GTX 460 16GB(4x4) Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Samsung Spinpoint F3 1TB Asus Cheapo Corsair H70 Arch Linux 
MonitorKeyboardPowerCase
LG 26LH20 HDTV Das Model S Ultimate Silent Corsair HX850 Lian Li(Lancool) PC-K62 
MouseMouse Pad
Logitech MX 518 My desk. 
CPUMotherboardGraphicsRAM
Intel Core i5-4200U Toshiba Intel HD Graphics 4400 6 GB DDR3L @1600 Mhz 
Hard DriveOptical DriveCoolingOS
750 GB 5400RPM SATA HDD DVD SuperMulti drive Stock fans Arch Linux 
MonitorKeyboardPowerCase
15.6" 1920x1080 Screen Toshiba Toshiba battery and A/C adapter Toshiba 
MouseAudio
Touchpad Intel HD Audio 
  hide details  
Reply
post #19 of 39
Quote:
Originally Posted by Saucee View Post

I'm a Computer Science major and I started with Java, then moved on to C, c#, c++, python, assembly, etc.. Java holds your hand while you program, it teaches you the basics of computer science without any of the difficult tasks that can be taunting to beginners (memory management, making sure you don't go over array's size limit, pointers, etc).

I think it's best to start with the easiest languages first, to teach you the basics. Then move on to the more difficult ones when you are more knowledgable about the concepts.

I agree, I liked Java and C++ when I started. For my program we started with C++ programming, then moved to java for networking classes.
    
CPUMotherboardGraphicsGraphics
Intel i7 3570K Evga Z77 FTW Radeon 5830 Radeon 5830 
GraphicsRAMCoolingOS
Radeon 5830 Ballistics Custom water cooling loop Windows 7 64bit Ultimate 
MonitorKeyboardPowerCase
HiSense Television and Old Monitor Razer Arctose Evga 1500W (OC's to 1650W; yes the PSU will OC) Coolermaster haf xb 
MouseMouse PadAudioOther
Chinese gaming mouse Desk, my leg, my bed, carpet, anything that it ... Volk Audio (Rip off system; given to me after s... Fleshlight installed inside of case 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel i7 3570K Evga Z77 FTW Radeon 5830 Radeon 5830 
GraphicsRAMCoolingOS
Radeon 5830 Ballistics Custom water cooling loop Windows 7 64bit Ultimate 
MonitorKeyboardPowerCase
HiSense Television and Old Monitor Razer Arctose Evga 1500W (OC's to 1650W; yes the PSU will OC) Coolermaster haf xb 
MouseMouse PadAudioOther
Chinese gaming mouse Desk, my leg, my bed, carpet, anything that it ... Volk Audio (Rip off system; given to me after s... Fleshlight installed inside of case 
  hide details  
Reply
post #20 of 39
Quote:
Originally Posted by CNCoRIDDoR View Post

Hmmmm. It seems overwhelming I guess I'll just wait for school to learn. smile.gif

AHH no! Don't give up now! If you wait until your first programming class to play around with code, you are going to find yourself overwhelmed very quickly. (I should say: That's what I did, and found myself overwhelmed very quickly; learning to program from sitting in a lecture hall 3 hours a week did not work well for me. It took me trying things on myself just for the fun of it that got me where I needed to be).

Here, try this for fun, it is very low pressure and actually teaches some nice basics by the end of it: http://tryruby.org/levels/1/challenges/0
Livingroom rig
(9 items)
 
Retro!
(16 items)
 
DIY Laptop
(7 items)
 
CPUMotherboardGraphicsRAM
i5-3570K @4.3GHz ASRock Z77 Extreme4-M Radeon HD 7970 GHz 2x4GB Corsair Vengeance 2133MHz 
Hard DriveOptical DriveOSPower
Intel 520 SSD 240GB Bluray / DVD combo Win 7 Home 64 Seasonic 550W modular 
Case
NZXT Vulcan 
CPUCPUMotherboardGraphics
Athlon 64 FX-55 Clawhammer Or Athlon 64 X2 4200+ Manchester Asus A8N32 - SLI ATI Radeon X850 XT PE 
GraphicsRAMHard DriveOptical Drive
Or MSI GeForce 210 4 x 1GB Corsair XMS 500MHz OCz Agility 2 LITE-ON DVD 
CoolingOSPowerCase
Antec Kuhler 920 Win 7 Home Premium OEM Antec High Current Pro NZXT Phantom 
CPUGraphicsRAMHard Drive
i5-3360M @2.8-3.5GHz nVidia GT 650M @1GHz 2x4GB G.Skill 1600MHz Crucial M4 SSD 128GB 
OSMonitorCase
Ubuntu 12.04 11.6in, 1366x768 Clevo W110ER 
  hide details  
Reply
Livingroom rig
(9 items)
 
Retro!
(16 items)
 
DIY Laptop
(7 items)
 
CPUMotherboardGraphicsRAM
i5-3570K @4.3GHz ASRock Z77 Extreme4-M Radeon HD 7970 GHz 2x4GB Corsair Vengeance 2133MHz 
Hard DriveOptical DriveOSPower
Intel 520 SSD 240GB Bluray / DVD combo Win 7 Home 64 Seasonic 550W modular 
Case
NZXT Vulcan 
CPUCPUMotherboardGraphics
Athlon 64 FX-55 Clawhammer Or Athlon 64 X2 4200+ Manchester Asus A8N32 - SLI ATI Radeon X850 XT PE 
GraphicsRAMHard DriveOptical Drive
Or MSI GeForce 210 4 x 1GB Corsair XMS 500MHz OCz Agility 2 LITE-ON DVD 
CoolingOSPowerCase
Antec Kuhler 920 Win 7 Home Premium OEM Antec High Current Pro NZXT Phantom 
CPUGraphicsRAMHard Drive
i5-3360M @2.8-3.5GHz nVidia GT 650M @1GHz 2x4GB G.Skill 1600MHz Crucial M4 SSD 128GB 
OSMonitorCase
Ubuntu 12.04 11.6in, 1366x768 Clevo W110ER 
  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 want to learn coding but where do I start?