Press "Enter" to skip to content

Tag: Programming Style

Why I don’t write comments anymore

I remember when I was 16 and I started writing my first web application (actually just a simple PHP page that processed some inputs from a form) in PHP. I didn’t really know PHP at all, I have started reading some basic tutorials and then sat down to put in practice what I just learned. I have been familiar with pascal at that time, so I knew how to achieve what I wanted, but I didn’t know the PHP statements, so after finding the right statement I have added a line comment after it, so that I would know what it does. My code was really ugly, but at that time I have found comments quite useful.

Continue reading Why I don’t write comments anymore

Leave a Comment