Open Side Menu Go to the Top
Register
What's the best introduction to programming? What's the best introduction to programming?

04-24-2011 , 08:43 PM
haha yes that is probably the best answer
What's the best introduction to programming? Quote
04-24-2011 , 09:35 PM
Quote:
Originally Posted by Zefa

I attempted the first assignment in the MIT intro to computer lecture which was to use python to create a program that calculates the 1000th prime number. This took me almost 2 hours to complete. Considering this is the first lecture assignment, is this a sign that I'm not cut out for programming since I struggled so hard with the introductory program assignment? Should I spend time looking into some other field? Thanks.
Thanks for the replies guys.

I'm about to start lecture 2 and then try the first assignment. I'm really interested now how long it will take me, I doubt I'll beat 2 hours.
What's the best introduction to programming? Quote
04-25-2011 , 02:29 AM
Quote:
Originally Posted by OvrTheTop111
I'm in the same boat as you, having found myself with some extra free time recently.

I always thought it would be fun and interesting to learn a little bit of programming, but I'm wondering what the benefits to having some programming knowledge might be. Essentially, is programming worth having as a hobby if it won't be my main job?

Thanks for any responses.
Several of my friends who have jobs dabbled a bit in programming and one of them actually self taught himself programming for the past 2-3 years even though his major and job was business/marketing and he works at a small chemical research company. He was part of my inspiration to take up programming because he told me if you do any job out there, if you can also add a bit of programming skills to your resume, it'll make you so much more valuable to the company. Considering how every every company and person uses computers nowadays and its only going to become more commonplace, I'd have to agree with his statement regardless of what field of work you're actually in.
What's the best introduction to programming? Quote
04-25-2011 , 04:17 AM
As I've said before, programming for the sake of programming is the best way to bore yourself extremely quickly. Think of a product/service you'd like to make (or something you'd like to duplicate to see how it works, like how to log into a page - authentication) and go for that. If you don't have an idea to keep the interest going, you'll tire of it extremely fast.
What's the best introduction to programming? Quote
04-25-2011 , 11:58 AM
Quote:
Originally Posted by kyleb
As I've said before, programming for the sake of programming is the best way to bore yourself extremely quickly.
by that reasoning, doing stuff like the euler problems would be boring. maybe i'm just a huge dork, but i totally enjoy stuff like that.
What's the best introduction to programming? Quote
04-25-2011 , 02:04 PM
I consider "programming for programming" to be more like just writing toy examples with a language you're unsure of. Things like Project Euler at least have you solving difficult problems.
What's the best introduction to programming? Quote
04-25-2011 , 02:27 PM
Quote:
Originally Posted by Johnny Douglas
I consider "programming for programming" to be more like just writing toy examples with a language you're unsure of. Things like Project Euler at least have you solving difficult problems.
I agree. Solving Euler problems is actually solving a logical task. Doing examples like Hello World v2-10 from a programming-specific book bores me rather fast.
What's the best introduction to programming? Quote
04-25-2011 , 03:08 PM
Quote:
Originally Posted by kyleb
I agree. Solving Euler problems is actually solving a logical task. Doing examples like Hello World v2-10 from a programming-specific book bores me rather fast.
ah yeah i agree with this
What's the best introduction to programming? Quote
04-25-2011 , 03:16 PM
So many times in my life, I've done the following:

1. Hear about a cool language.
2. Buy a book about said language.
3. Read the book, or most of the book. Do some of the examples from the book.
4. Never get around to doing a real project with it.
5. Forget said language.
What's the best introduction to programming? Quote
04-25-2011 , 03:18 PM
Yep, exactly. Doing the Facebook Engineering Puzzles is a great thing to do to learn the language, and provides a standardized source code library you can show prospective employers on GitHub.
What's the best introduction to programming? Quote
04-25-2011 , 04:40 PM
Quote:
Originally Posted by kyleb
Yep, exactly. Doing the Facebook Engineering Puzzles is a great thing to do to learn the language, and provides a standardized source code library you can show prospective employers on GitHub.
Nice link. Didn't know about those!
What's the best introduction to programming? Quote
04-25-2011 , 04:54 PM
I like them because I've completed them all in PHP but they're a great standardized "project set" to work on with other languages to transfer knowledge across code. I'm working on them in Ruby now.

The hacker cup was fun, but I didn't compete in the actual event due to time constraints. My friend (dev at Amazon) made the top 500 and gave me the problems after he finished them, and I worked through them over a long period of time for fun. Some were pretty cool, like cracking a badly-designed PRNG slot machine with C++ sample code.
What's the best introduction to programming? Quote
04-27-2011 , 02:56 AM
Quote:
Originally Posted by OvrTheTop111
Thanks for the replies guys.

I'm about to start lecture 2 and then try the first assignment. I'm really interested now how long it will take me, I doubt I'll beat 2 hours.
Quote:
Originally Posted by vikingprogress
I just found out that a lot of the coding for running the fMRI based projects involves unix.

Also, just want to say thanks for all the input and the great links. I'm probably gonna start those MIT lessons later today and look into getting some of the books mentioned as well.
I don't know how into this stuff you guys are going to be but I'm pretty determined to go through the intro computer course from the MIT lectures. If you guys wanna discuss/help each other with some assignments and stuff I'd be down for that since we're not exactly in a classroom environment with peers to talk about ideas with. Currently around lecture 4 but working on the 3rd assignment.
What's the best introduction to programming? Quote

      
m