Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Seeing Perl in a new light

by gwadej (Chaplain)
on Apr 13, 2009 at 15:14 UTC ( #757220=note: print w/replies, xml ) Need Help??

in reply to Re^2: Seeing Perl in a new light
in thread Seeing Perl in a new light

This is going to be another piece you will think is unnecessary in the beginning. Years ago, I saw version control described as a time machine for your development.

A version control system allows you to go back to earlier versions of your code or compare your two different version of code. This is most useful while things are changing.

For example, imagine that you've got a mostly stable version of your code in place. Now imagine you have a great idea that will only take a few minutes to code up.... 4 hours later, nothing is working and you are wishing you could go back to where you were 4 hours ago. Version control to the rescue.

You could do the same thing by zipping up your entire site any time you feel it is worth keeping.

Version control can also help with seeing what changes you have made (to help you find where you went wrong). Say you want to compare what you did 2 hours ago with what you have now.

The point of enlightenment for me was when I realized that I could use version control proactively. Make sure everything is under version control. Try something experimental that might break everything. If it works, keep it. If it doesn't, toss it. No real loss.

Of course, there are better and more advanced ways to make use of version control, but these would be helpful right away.

G. Wade

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://757220]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2021-05-09 19:03 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (102 votes). Check out past polls.