Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    195
  • comments
    198
  • views
    104372

Insert appropriate title here

Sign in to follow this  
SiCrane

91 views

So back to the personal code library for a bit. What with concerns from real life and dodecahellspawn, the code library has been on the back burner for a bit. I'd like to share some interesting tidbit about C++, design philosophy or developing in general, but today I just did basic work: commenting code.

This turns out to be more important that I thought would be necessary when I was a beginning programmer. Often code that I wrote for myself would go uncommented because, after all, I was the only guy who would ever read it. This worked out ok as long as I came back to the code within a few weeks after I wrote it, but that's often not the case. I've mentioned dodecahellspawn, and what I'm going through reworking that, but I have even older code that I still work with regularly.

The oldest application that I've written, and still use regularly, is Notepadplus. As you may be able to tell from the name, it's a basic text editor based off of Windows' Notepad application. The main point was that it used a rich edit control instead to bypass the 64K text limit that Windows 95's Notepad had. This was very necessary for use as a code editor. Specifically I used Notepadplus to complete many of my machine problems and do some web page editing. That was back in 1997 after I had changed majors to comp sci in undergrad. The last modification was done a little more than a week ago.

And now I'm actively laying down code that I fully intend to be using five or more years from now. I think this time I'll comment the damn code.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!