Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Whered you get your programming smarts
Closed Thread
Old 07-13-2009, 04:26 AM   #1 (permalink)
up-smash's Avatar
 
True Techie

Join Date: Apr 2009

Location: Hawaii

Posts: 150

up-smash is on a distinguished road

Default Whered you get your programming smarts

I've been trying to learn python and a little of C++ via books. After 20 mins I'm immensely frustrated with trying to get lines of code to work or even understand what the book is talking about. Should I go take a college course? r i jus rtarded?

Where did everyone else learn how to program?
up-smash is offline  
Old 07-13-2009, 05:13 PM   #2 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Whered you get your programming smarts

As a beginner it is very easy to become frutrated with programming and even trying to do the simplest things cause seemingly cryptic errors and warnings but as with anything practice makes perfect. Stick with it and the rewards are there for the taking.

Most people seem to approach programming by saying "Well I want to leearn how to program and I am a beginner, I wonder what a good beginners language is." They find a language then they find a book/tutorial and they run with that.
Problem with that is most books and tutorials are mind-bogglingly boring and a few chapters of bordom and frustration in and the person gives up.

IMO the best way to approach it is to say "I want to learn programming, I wonder what problem I can solve." Then find a language which can solve the problem and write your solution, by the time you are done you will be a programmer whether you like it or not - at the very worst you will have found out how a problem cannot be solved and you will know exactly why.

Personally my first programming experience was technically in the late 90's on QBasic - obviously didn't go far since I was under 10... then Pascal in college followed by VB and a bit of machine language at about the same time later in college. To be honest though I didn't really get any good at it till after I left college.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 07-13-2009, 06:18 PM   #3 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Whered you get your programming smarts

kmote, i couldn't have said that better. you're spot on.

with me it was pretty much the same. i read numerous books on programming languages, but never could complete a program. I did some small stuff with a TI-83 calculator and could tweak the bigger programs.

I hop into college they taught concepts in this order: workflow / flow control, syntax, functions, programs, logic problem solving, data structures. All of this was programming for C.

I didn't really find practical use for it until I attended a seminar that showed how to interact with a database using vbscript & odbc. This lead to building classic ASP pages and then vbscript for administration.

Learning how to create a flowchart first and then write the code modeled after the chart is the best tip i can give. This makes you think ok, I know what i need the computer to do, now I have to write the code to do it.

in response to kmote saying "I wonder what problem I can solve". In the real world its more like, "****, I have to do the same thing 1,000 times....forget it, code it"
office politics is offline  
Old 07-13-2009, 07:05 PM   #4 (permalink)
up-smash's Avatar
 
True Techie

Join Date: Apr 2009

Location: Hawaii

Posts: 150

up-smash is on a distinguished road

Default Re: Whered you get your programming smarts

thanks for the reassurance guys!

The thing is... that I've taken both approaches that you have stated and I'm still at this problem of being frustrated... just because I don't know where to start to begin to understand programming languages.

The only area of programming that I do have comfort with is writing console commands in the autoexec.cfg file for all of VALVe's source games... I'm familiar with what the prefix of most commands mean, and I know a lot of the commands for the engine. I figured that the rest of the code writing world was similar to the source engine. Boy was I wrong...
up-smash is offline  
Old 07-13-2009, 09:57 PM   #5 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Whered you get your programming smarts

imagine the possibilites, then make them reality --> Tutorials From FunctionX
office politics is offline  
Old 07-14-2009, 08:38 AM   #6 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Whered you get your programming smarts

Quote:
Originally Posted by up-smash View Post
thanks for the reassurance guys!

The thing is... that I've taken both approaches that you have stated and I'm still at this problem of being frustrated... just because I don't know where to start to begin to understand programming languages.
Well that's what we can help you with. Do you know what you would like to write? If not I can give you a task to complete.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 07-14-2009, 05:39 PM   #7 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Whered you get your programming smarts

In my courses I have had Visual Basic, Javascript, and will be taking a SQL that uses MySQL in the fall. On my own, I have studied Java as well.

I think the guys above made good points, because it is very important to understand programming concepts as well as learning syntax. You need to understand what it is you are programming, and why you are doing it.

Like object-oriented programming is different from other types of programming, and why that is. Books by themselves for me are difficult to get the grasp of, but in college classes it is easier because you have an instructor explaining things in real time. They are not gods and there answers are not the the only answer. But they (instructors) CAN be helpful, but that isn't always the case, however.

And...need it be said, practice makes perfect as well, but all that will come in time. You came to the right place to get some help, there are some good programmers here.

Last edited by oldskool; 07-14-2009 at 05:44 PM.
oldskool is offline  
Old 07-15-2009, 06:04 AM   #8 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,362

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Whered you get your programming smarts

oldskool me old mucka I have a lot of stuff on MySQL if you want me to email it over and I have a few sample DB's you can play with if you want them too.
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

Saxon is offline  
Old 07-15-2009, 04:52 PM   #9 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Whered you get your programming smarts

Quote:
Originally Posted by Saxon View Post
oldskool me old mucka I have a lot of stuff on MySQL if you want me to email it over and I have a few sample DB's you can play with if you want them too.
Sure, sounds good ! I will take ya up on that Send em on over any time and thanks !
oldskool is offline  
Old 07-16-2009, 04:33 AM   #10 (permalink)
up-smash's Avatar
 
True Techie

Join Date: Apr 2009

Location: Hawaii

Posts: 150

up-smash is on a distinguished road

Default Re: Whered you get your programming smarts

Quote:
Originally Posted by Saxon View Post
oldskool me old mucka I have a lot of stuff on MySQL if you want me to email it over and I have a few sample DB's you can play with if you want them too.
me too!?
up-smash is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Benefits of Programming in Ruby Osiris Programming Discussions 2 07-07-2009 08:56 AM
Adobe gives Flash a programming boost Mak213 News & Polls 0 06-02-2009 12:22 AM
Future of Programming? (2 Q's) Veilside350z Programming Discussions 8 04-07-2009 11:53 AM
The Falcon Programming Language: a brief tutorial Saxon Programming Discussions 2 02-27-2009 03:43 AM
Web Programming Languages bheron Programming Discussions 4 09-12-2008 07:33 PM