I usually go through the course and never understand how I am going to use them when buildings apps. Learn how to print 1+1 is boring and demotivates me. When am I going to learn the good stuff?
Has anyone else had this problem?
original question on Quora: http://www.quora.com/How-persistent-do-you-have-to-be-to-learn-to-program
Before you start working with huge, highly opinionated framework such as RoR, you should understand how programming in general works. ifs and elses, functional programming and object oriented programming, patterns etc.
Regarding your question. You have to be very persistent - there's a huge amount of stuff to learn. Months of active study and tinkering with tutorials and small projects.
If all you want is to whip out a login page and a blog, then maybe it'd be better to use a CMS?
Its in Java and seems to teach you how programming works. How difficult is it to transfer from Java to Ruby?
That course you've picked is fine for basics of programming and even though a lot of people like to hate Java, it's a fine language and it'd be easy to start with it. As czardoz recommended, if you'd want to learn python, then learning python the hard way is also great book. I personally prefer that way of learning.
The language you will use will be Python, but what is important are the fundamentals you will learn in these courses. You can then apply them to any language and framework you want to work with.
Don't use an online tutorial, you need more. You really probably should learn the basics of programming Ruby before diving into Rails, but, if learning the basics is demotivating and you need a deep dive, I'd recommend you get the book Agile Web Development with Rails [1], which is a pretty good dive into rails that covers a lot more than any web tutorial will.
[1] http://pragprog.com/book/rails4/agile-web-development-with-r...
Really? That's like learning Calculus before addition and subtraction. I recommend that you learn basic computer programming before trying to learn how to manage a development scheme like Rails.
> When am I going to learn the good stuff?
Don't try to start at the top, you will crash and burn. Start at the bottom and work upward.
There are many ways to start, and reasonable people may differ. I personally recommend that you learn Python first -- it's very approachable and it teaches you the basics first.
Very persistent I would say. I have a lot of persistence, but I don't think that I have enough.
For now, put the train set away, and learn Ruby. With enough persistence, you could end up beating some professionals.
I looked up reversing strings in Ruby and ROR, no wonder you're bored. I had to write all this to get it done in C and it was quite entertaining:
char *reverse(char *s) {
char *a=s, *b=s+strlen(s)-1, c;
while(a<b) {
c=*a;
*a=*b;
*b=c;
++a;
--b;
}
return s;
}I'm serious, two years of an hour or two a day (at least!) will give you enough foundation to really enjoy it. You have to start with tutorial, use the sample projects you build and change them drastically. Break them, improve them, talk to people about them.
The issue that is most common is the starting momentum is difficult. There are some concepts that are dead simple in programming, by their nature they are composable. The composition of simple concepts form virtually all the higher level concepts. It's not so much learning to code as it is learning to think in a certain way.
I did a intense year long IT conversion course in 2000 (dot com boom time). The course started with 3 weeks of intense Java teaching followed by an exam. If the student failed the exam, they were advised not to take the course. A couple of the people decided to stay on anyway, and didn't do very well afterwards.
These data structures usually get ported across various languages.
Once you have a good grasp of that try starting work on the tutorials they have on Rails you can find online.