Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Source control: mandatory or not

Source control: mandatory or not

Scheduled Pinned Locked Moved The Lounge
discussioncomquestioncareer
75 Posts 33 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KaRl
    wrote on last edited by
    #1

    Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

    M J P B A 25 Replies Last reply
    0
    • K KaRl

      Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

      J Offline
      J Offline
      Jim Crafton
      wrote on last edited by
      #2

      Personally I'd say make it mandatory, but I've had generally positive results (the exception being VSS, of course) using various source control systems (PVCS, CVS, Subversion, ClearCase). However it seemed to me that the OP was asking less about whether or not to use source control then about whether people used check in comments, and it seemed like John was tending to advocate not worrying about the comments rather than just completely dumping existing source control systems.

      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

      K 1 Reply Last reply
      0
      • K KaRl

        Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        Yes, absolutely. And some kind of external backup for the repository.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        1 Reply Last reply
        0
        • J Jim Crafton

          Personally I'd say make it mandatory, but I've had generally positive results (the exception being VSS, of course) using various source control systems (PVCS, CVS, Subversion, ClearCase). However it seemed to me that the OP was asking less about whether or not to use source control then about whether people used check in comments, and it seemed like John was tending to advocate not worrying about the comments rather than just completely dumping existing source control systems.

          ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

          K Offline
          K Offline
          KaRl
          wrote on last edited by
          #4

          Jim Crafton wrote:

          However it seemed...

          Damned! I would have forgotten to read the newsletter saying that thread hijacking was now forbidden? ;-P

          1 Reply Last reply
          0
          • K KaRl

            Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

            B Offline
            B Offline
            Bugra Barin
            wrote on last edited by
            #5

            I can't imagine doing my job in any kind of sane way without source control.

            1 Reply Last reply
            0
            • K KaRl

              Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #6

              Optional if you have a project wiht one developer, and it zips in five seconds or less. Multiple people working on the same code base? Hacking features for 2.0 during the beta phase for 1.0? Automated clean builds? Who the phuket added this line of crap? Source Control. (ok, ok, I was)


              We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
              My first real C# project | Linkify!|FoldWithUs! | sighist

              M 1 Reply Last reply
              0
              • K KaRl

                Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                A Offline
                A Offline
                Andy Brummer
                wrote on last edited by
                #7

                It's definitely mandatory. It is so brain dead simple to setup and use these days I can't imagine doing anything else. Plus it makes it easier to backup the repository and do builds to make sure you aren't forgetting any files.


                This blanket smells like ham

                1 Reply Last reply
                0
                • K KaRl

                  Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                  D Offline
                  D Offline
                  Douglas Troy
                  wrote on last edited by
                  #8

                  It's a must; even if you don't use a source control system, get yourself in the habit of making ZIP copies of your projects between changes/builds, etc... There's really no excuse NOT to use source control; you can get them free now.


                  :..::. Douglas H. Troy ::..
                  Bad Astronomy |VCF|wxWidgets|WTL

                  M 1 Reply Last reply
                  0
                  • K KaRl

                    Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                    M Offline
                    M Offline
                    Member 96
                    wrote on last edited by
                    #9

                    My assertion was that it's not mandatory and is in fact harmful for a small shop with just a few programmers (3 or less). A lot of this stuff has been foisted on to programmers by corporate types who are trying to turn software development into a factory process like stamping out microwave ovens. That's fine if you work in a factory but I have a small shop and we are craftsmen not assembly line workers and nearly any modern software development methodology that is the buzzword of the day simply makes no sense in a smaller craftsman software development shop. I reject agile development, I reject source control, I reject gannt charts, I reject UML diagramming, I reject a lot of things because any sane, logical examination shows them to be unnecessary overcomplication for my situation. Those are all tools to deal with mashing together a large number of programmers and trying to make them act as one entity. That's fine for what it's designed for but far too often I see people asking here about these things for their one man projects and shops and we all have to be careful to realize that one size does not in fact fit all and everyone's perspective is based on their situation that they are in. You simply can not say with any degree of accuracy that source control is always mandatory. I've been *extremely* sucessful doing what I do the way I do it and my perspective is always from the point of view of a craftsman not a cubicle jockey (not that there's anything wrong with that ;) ). If every poster here could have some sort of icon that represents the situation they are in, size of shop, type of software etc then discussions would be much more productive because you could look and balance someone's assertion with their situation and judge it appropriately.


                    Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                    J L S E J 5 Replies Last reply
                    0
                    • K KaRl

                      Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                      N Offline
                      N Offline
                      Nemanja Trifunovic
                      wrote on last edited by
                      #10

                      Absolutely mandatory - even for a one-man shop. I can't even imagine a professional developer questioning it.


                      Programming Blog utf8-cpp

                      M G 2 Replies Last reply
                      0
                      • N Nemanja Trifunovic

                        Absolutely mandatory - even for a one-man shop. I can't even imagine a professional developer questioning it.


                        Programming Blog utf8-cpp

                        M Offline
                        M Offline
                        Member 96
                        wrote on last edited by
                        #11

                        You don't need to imagine, see my post above yours.


                        Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                        N A 2 Replies Last reply
                        0
                        • D Douglas Troy

                          It's a must; even if you don't use a source control system, get yourself in the habit of making ZIP copies of your projects between changes/builds, etc... There's really no excuse NOT to use source control; you can get them free now.


                          :..::. Douglas H. Troy ::..
                          Bad Astronomy |VCF|wxWidgets|WTL

                          M Offline
                          M Offline
                          Member 96
                          wrote on last edited by
                          #12

                          I didn't say that I don't make snapshots, I have nifty batch files set up that make a rotating 30 zip archives of each project that I call when I make any major changes and walk away from the computer. I can restore from any point within the last decade any one of 30 backups from any given day of work. In all the years I've been programming I've needed to refer back to them exactly once. It's clean, it's simple, it never fails, something that I've observed is not the case with any source control system.


                          Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                          A J S 3 Replies Last reply
                          0
                          • M Member 96

                            You don't need to imagine, see my post above yours.


                            Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #13

                            John Cardinal wrote:

                            see my post above yours

                            Just saw it. Well - good that we are not working together :)


                            Programming Blog utf8-cpp

                            1 Reply Last reply
                            0
                            • M Member 96

                              You don't need to imagine, see my post above yours.


                              Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                              A Offline
                              A Offline
                              Al Beback
                              wrote on last edited by
                              #14

                              John Cardinal wrote:

                              You don't need to imagine, see my post above yours.

                              Maybe your opinion is tainted due to bad experiences, which I would understand. If you've worked with IDEs that support source control transparently, it's a breeze and it's a great way to refactor large chunks of code without the fear of not being able to compare or revert back to previous versions. That's probably the main reason most people consider it essential, even for one-person projects. For me, it's something I integrate into my project very soon after I've initiated it. It's peace of mind.


                              Man is a marvelous curiosity ... he thinks he is the Creator's pet ... he even believes the Creator loves him; has a passion for him; sits up nights to admire him; yes and watch over him and keep him out of trouble. He prays to him and thinks He listens. Isn't it a quaint idea. - Mark Twain

                              1 Reply Last reply
                              0
                              • K KaRl

                                Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                                B Offline
                                B Offline
                                Big Daddy Farang
                                wrote on last edited by
                                #15

                                K(arl) wrote:

                                Mandatory when your job is producing code or not?

                                The only things mandatory are a compiler and linker. At my current job we use Subversion/Tortoise and I have no objection to using source control. (I've used VSS and SCCS in the past, and if they're not objectionable, I don't know what is.) But for smaller numbers of developers it's more trouble than it's worth. For one developer, laughably so. BDF

                                W 1 Reply Last reply
                                0
                                • M Member 96

                                  I didn't say that I don't make snapshots, I have nifty batch files set up that make a rotating 30 zip archives of each project that I call when I make any major changes and walk away from the computer. I can restore from any point within the last decade any one of 30 backups from any given day of work. In all the years I've been programming I've needed to refer back to them exactly once. It's clean, it's simple, it never fails, something that I've observed is not the case with any source control system.


                                  Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                                  A Offline
                                  A Offline
                                  Al Beback
                                  wrote on last edited by
                                  #16

                                  John Cardinal wrote:

                                  It's clean, it's simple, it never fails, something that I've observed is not the case with any source control system.

                                  So if you want to compare a file with its previous version, you have to dig through zip files and use a tool like WinDiff to search for the one that doesn't have the latest set of changes? :omg:


                                  Man is a marvelous curiosity ... he thinks he is the Creator's pet ... he even believes the Creator loves him; has a passion for him; sits up nights to admire him; yes and watch over him and keep him out of trouble. He prays to him and thinks He listens. Isn't it a quaint idea. - Mark Twain

                                  M 1 Reply Last reply
                                  0
                                  • K KaRl

                                    Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                                    J Offline
                                    J Offline
                                    Jorgen Sigvardsson
                                    wrote on last edited by
                                    #17

                                    Well, Mr Cardinal has some seriously weak arguments against having source control. I for one enjoy source control. It gives me precise control on what went in when. It also gives me benefits such as tagging and branching.

                                    -- Kein Mitleid Für Die Mehrheit

                                    1 Reply Last reply
                                    0
                                    • A Al Beback

                                      John Cardinal wrote:

                                      It's clean, it's simple, it never fails, something that I've observed is not the case with any source control system.

                                      So if you want to compare a file with its previous version, you have to dig through zip files and use a tool like WinDiff to search for the one that doesn't have the latest set of changes? :omg:


                                      Man is a marvelous curiosity ... he thinks he is the Creator's pet ... he even believes the Creator loves him; has a passion for him; sits up nights to admire him; yes and watch over him and keep him out of trouble. He prays to him and thinks He listens. Isn't it a quaint idea. - Mark Twain

                                      M Offline
                                      M Offline
                                      Member 96
                                      wrote on last edited by
                                      #18

                                      I've never had to do that in decades of programming, but if I did I guess I would use Windiff or something.


                                      Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                                      B A 2 Replies Last reply
                                      0
                                      • M Member 96

                                        My assertion was that it's not mandatory and is in fact harmful for a small shop with just a few programmers (3 or less). A lot of this stuff has been foisted on to programmers by corporate types who are trying to turn software development into a factory process like stamping out microwave ovens. That's fine if you work in a factory but I have a small shop and we are craftsmen not assembly line workers and nearly any modern software development methodology that is the buzzword of the day simply makes no sense in a smaller craftsman software development shop. I reject agile development, I reject source control, I reject gannt charts, I reject UML diagramming, I reject a lot of things because any sane, logical examination shows them to be unnecessary overcomplication for my situation. Those are all tools to deal with mashing together a large number of programmers and trying to make them act as one entity. That's fine for what it's designed for but far too often I see people asking here about these things for their one man projects and shops and we all have to be careful to realize that one size does not in fact fit all and everyone's perspective is based on their situation that they are in. You simply can not say with any degree of accuracy that source control is always mandatory. I've been *extremely* sucessful doing what I do the way I do it and my perspective is always from the point of view of a craftsman not a cubicle jockey (not that there's anything wrong with that ;) ). If every poster here could have some sort of icon that represents the situation they are in, size of shop, type of software etc then discussions would be much more productive because you could look and balance someone's assertion with their situation and judge it appropriately.


                                        Never trust machinery more complicated than a knife and fork. - Jubal Harshaw in Stranger in a Strange Land

                                        J Offline
                                        J Offline
                                        Jorgen Sigvardsson
                                        wrote on last edited by
                                        #19

                                        Your assertions are based on the fact that the programmers in question are either lazy, or stupid, or both. Such programmers will make a mess, source control or not...

                                        -- Kein Mitleid Für Die Mehrheit

                                        M 1 Reply Last reply
                                        0
                                        • K KaRl

                                          Following this discussion[^] with Mr Cardinal, it seems there are very contrasted opinions on the subject. What do CPians think about it? Mandatory when your job is producing code or not?

                                          E Offline
                                          E Offline
                                          Eytukan
                                          wrote on last edited by
                                          #20

                                          Extremely mandatory dude! We use Rational Clearcase, that's an evolved being. At first you will hate it but when you mess something up in your code and madly search for something to save you..the option "undo checkout" is a bliss..:-O.. and you suddenly feel what you just did was not a mess but what was already there is the perfect mess, the files ".keep" are again a bliss :-O :-O. Yes,you can take the "undo-ed" content from the .keep file. It's protected all the ways, the concept of branching , reserver/unreserved check outs and the tree visualizations everything simply rock. This made me feel shame about what I was doing in my previous company...I was simply a..[^] taking manual back ups and putting the date on every line of code to know when I changed it and why I did it? Holy shit!


                                          The Advantage in work-from-home is that... we can blame the dog -Mark Salsbery Best wishes to Rexx[^]

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups