Alice Hampton wrote:I've been programming a little while but the logic of it seems to still really get it and its avbit of a problem. I'm getting better but not really quick enough.
Can anyone suggest anything that may actually help my logic as its really holding me back.
Could you elaborate? I'm afraid "the logic of it" is a bit vague.
However, in lieu of a reply, my advice would be this:
1. Never, ever,
ever start coding BEFORE you understand the problem you're trying to solve.
Related pages:
StopCoding (←click→) and
WhatNotHow.
2. When you get given a problem - especially a big or complex one - don't assume that you need to understand how to do
everything before you start tackling it.
Once you have a grasp of the major points, try tackling
one of them. And if even
that causes you sleepless nights, have a look at the
WhereDoIStart page.
3. Winston's Law of Program Dynamics:
Within reason:
The more classes you write to solve a problem, the better the solution will be.The more methods a class has, the better it will be.So don't be afraid to write a new class or method.
The "within reason" part comes with experience, but start out with the premise:
"Got a problem (or a sub-problem)? Let's write a class (or method) to solve it..."
4.
Google is your friend.
Good programmers aren't born, they're
made. By hard work in most cases; and because they
like it - so make sure
you do.
It isn't for everyone, and it's a
long road -
twice as long if you don't actually enjoy it.
HIH
Winston