View Single Post
Old 07-01-2008, 05:07 PM   #32 (permalink)
delayedinsanity
The Gregarious
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Cana'derr
Posts: 653
Thanks: 24
delayedinsanity is on a distinguished road
Default

Quote:
ps, who said i wont fix it up later on?..the code..
think of how much time you save if you just code what comes to mind, and not worry about the damn css..


I definitely code what comes to mind as it comes to mind, which is why I spend almost as much time cleaning up behind myself as I do coding my initial thought processes. Earlier there I was referring to the structure and overall readability of your PHP, not your CSS or HTML. The extra CSS I threw in there was just to appease my own stubborn ways a little bit.

When you code, if you want to code messy to get the job done, by all means, code code code. It's the funnest part. However, the first thing I find that helps me a great deal when I run into a bug or code that just doesn't work, is going through and giving it a good scrub down. Remove any excess tags, any unnecessary opening and closing php tags, check my indents just so I can read through it line by line without confusing myself as to the logical progression of what I was attempting to do, so on and so forth.

In the end it was just meant as a helpful suggestion, but definitely not an enforced guideline. You do what works for you, and that's usually the best thing.
-m
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
codefreek (07-01-2008)