abazoskib Posted September 29, 2009 Share Posted September 29, 2009 as a programmer, i find myself going back into old programs and thinking "boy, isn't this ugly!" as i learn more and more, yes my code style improves. i was just curious how some of you structure your code. i find that often my comment structure is so different file to file that it can be a hassle to try and find comments. Quote Link to comment https://forums.phpfreaks.com/topic/175997-writing-code-for-the-future/ Share on other sites More sharing options...
.josh Posted September 29, 2009 Share Posted September 29, 2009 hmmm....while my coding techniques do continually improve, my coding "style" (comment convention, indentation, etc..) has not really changed in a very long time. In my own experience, and experience in seeing other people's code, people pretty quickly figure out what works best for them and generally stick to it (for better or worse..) Quote Link to comment https://forums.phpfreaks.com/topic/175997-writing-code-for-the-future/#findComment-927370 Share on other sites More sharing options...
abazoskib Posted September 29, 2009 Author Share Posted September 29, 2009 i just feel like i havent found a convention for comments. overall, code can always improve, but neatness should always be there Quote Link to comment https://forums.phpfreaks.com/topic/175997-writing-code-for-the-future/#findComment-927376 Share on other sites More sharing options...
trq Posted September 30, 2009 Share Posted September 30, 2009 Ive found it pretty easy to just stick to the Zend framework coding standard. It was pretty close to how I always worked anyway, but now its documented. Quote Link to comment https://forums.phpfreaks.com/topic/175997-writing-code-for-the-future/#findComment-927383 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.