justin smythhe wrote:How do I get out of this ?
My suggestion: Turn your computer OFF. Or, at the very least, your
IDE (if you use one).
Programming, in my experience, follows the 80/20 rule - 80% thought, 20% coding (perhaps a slightly more even split if you're using Agile techniques; but a large part of that will be writing tests, rather than actual code).
Simply put: You can't write a program until you understand
the problem; and to do that you have to work it out
in English (or your native language).
Design is an active process, and often involves thinking "outside the box", so if all your "box" consists of is a
Java text editor, it's highly unlikely that you'll ever progress beyond the point of trying to bash your square Java code peg into its round hole.
One thing I would recommend is getting a book on Design
patterns. The grandaddy of them all of course is
this one; but there are plenty of others out there, some possibly more up-to-date.
The other: Get a copy of
Effective Java. It is, bar none, the best practitioner's book I've ever read
about any language.
HIH
Winston