A new programming approach Mar27 '06
I’ve recently begun a new programming approach, and I find it quite helpful. In order to use this approach, you have to be willing to work in the evenings, as well as the day. But when I say "work in the evenings," I only mean about 30-60 minutes extra, which you can do while you are multi-tasking with other things (watching TV, etc).
Good programmers know how beneficial it is to add comments to your code. This is something that is so crucial, I can clearly see the difference in my own work - whenever I go back to a page that was not heavily commented, I take twice as long to figure out what the hell I did.
However, when I go back to a page that was heavily commented, I can breeze through it.
Although it’s easy to comment your code, sometimes it’s very hard to find time to do so.
So I do all my "commenting" in the evenings, when I can "step back" from it all, and after I’ve had some brief exercise, to get the blood flowing, and the mind relaxed.
During the day, there is hardly a second for me to spend away from whatever script or program I am working on. That’s why it is hard to comment, during the day. There is always a race to get things done, and constant demands and requests from co-workers.
In the evening, I can relax a bit, and reflect on what I’ve done. I can see the "big picture," and commenting is all about the big picture.
Categories: Programming ![]()
Add Feedback (view all)
Leave feedback
Cool idea... I might try that. ... Read more.
matthom
is published and produced by Matt Thommes - an independent publishing enthusiast, mobile blogger, content creator, informative writer, web developer from a suburb of Chicago.
Never one to conform, Matt intends to promote the effect the web has on our lives, in an effort to intensify, instruct, and clarify all that is happening around us.
- Fetch iTunes artwork with Clutter
- Just being a kid at Disney
- Brightkite suggests Twitter instead of 404
Popular Pages
- Fast rounded corners in Photoshop (3954 recent visits)
- PHP – passing variables across pages (1485 recent visits)
- JavaScript set selected on load (1208 recent visits)
- Removing all child nodes from an element (827 recent visits)
- iPod songs out of order? (719 recent visits)
- Britney - Everytime piano tab (649 recent visits)
- Firefox 3 smart address bar: wildcard search (607 recent visits)
- MySQL LEFT JOIN syntax (512 recent visits)
- Breathe Me - Sia (501 recent visits)
- Tumblr: how blogging should be (384 recent visits)
Similar Entries
- Best practices for programming and web development (0 recent visits)
- PHP OO programming references? (1 recent visits)
- Some basic programming tips (0 recent visits)
- Programming blueprint (0 recent visits)
- My new Flickr upload approach (2 recent visits)
Stats
0 unique visits since Mar27 '06
Sometimes what I like to do is put in the comments first, before any code. This helps me pinpoint exactly what I want my code to be doing, and it ... Read more.