Jump to content

Photo

Easy Software Versioning


No replies to this topic

#1 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,751 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Apr 28, 2011 7:53 AM

If you're never exactly sure how many numbers and periods to use with the software versioning that most programmers seem to be devoted to, this tip might save you some time and energy.

Every time I make a significant change to a program I'm working on, I save it as a new file so I can go back to a previous working version if I mess something up. I don't have time to figure out what version number it should be (1.2.0.1? Huh?), so I simply put the year, month, day, and military time. Here's an example:

kasploder_2011y_04m_28d_0940t.bas

I changed the system clock on my computer to military time, so all I have to do is look down in the corner. No more complicated version numbers, just the fast and easy date and time.

To be clear, I have the program name, 4 digits + y for the year, 2 digits + m for the month, 2 digits + d for the day, 4 digits + t for the time, and use underscores to separate each part. Doing it this way also makes all of the files line up in the proper order in my folders.



Related Links:

How to Attach Files and Images

Posting Tips for New bB Users


Keeping Track of the Scanline Count with Stella




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users