I'm a messy programmer. I'm also, as you might imagine, a fairly inexperienced one. I'm currently building an sql database app in php/jquery, and whilst I can generally get the results I need the problem I run into is that I don't know best-practice conventions to separate all my functionality into clean, neat files/structures. In my ambivalence end up coding necessary functionality in-place, which makes for messy, hard to follow (and non-recyclable!) code. Not cool, I'm sure you'll agree.
Keeping in mind that these kinds of questions don't necessarily have a "correct" answer, does anyone mind sharing how they break up & structure their code? What works for you? Is there anything else that irks you in terms of neatness that you see in other programmers, bad habits you wish you could've broken when they were neophytes?
Cheers,
Dave
Keeping in mind that these kinds of questions don't necessarily have a "correct" answer, does anyone mind sharing how they break up & structure their code? What works for you? Is there anything else that irks you in terms of neatness that you see in other programmers, bad habits you wish you could've broken when they were neophytes?
Cheers,
Dave