SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Should your Source Control System understand your code?


Should your Source Control System understand your code?

Author
Message
Phil Factor
Phil Factor
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2710 Visits: 2984
Comments posted to this topic are about the item Should your Source Control System understand your code?


Best wishes,

Phil Factor
Simple Talk
Fatal Exception Error
Fatal Exception Error
SSC-Enthusiastic
SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)SSC-Enthusiastic (183 reputation)

Group: General Forum Members
Points: 183 Visits: 386
Why would source control need to understand the code? That is the responsibility of the Programmer/s.

The advancements being made in languages is making entry into the Computation Sciences workforce much easier. As a result, there is a plethora of unqualified individuals coming into the field. By unqualified I mean individuals who:
-Have bad coding practices
-Lack discipline that is required to be a programmer
-Refuse to/Do not follow standards and design. Their errors usually go unchecked, even with code review, because management will not take the time to make them correct things if the code works. As a result the entire department deals with the fallout.
-Lack the fundamentals(knowledge of alternate number systems, ADT programming, SET Theory etc.)
-Think commenting is a waste of time

If a shop is scared of Branching and Merging because it impedes their ability to deliver rapidly then that tells me a few things.

1) They lack discipline
2) They lack the ability to put policies and procedures in place to support B&M as a result of 1.
3) They lack the backing from management to enforce 2 because of 1

From where I sit it takes much more time and is much riskier to use flags in code instead of B&M(It will also make the thought of merging scarier because of all the silly extra code). If a shop is so immature that it does this, I do not see how they can support concurrent projects on overlapping code without chaos.

Having said that I would like to see source control allow for a programmer to lock a version of code in one layer to a version of code to another. I.E. Lock a version of a stored procedure to a version of a Service that uses,


P.S. What would Automatic Testing accomplish that Unit Tests can't?
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)SSC Guru (114K reputation)

Group: General Forum Members
Points: 114177 Visits: 41363
There are some processes that are better left to humans than forms of automation. I find that many people mistake the term "Source Control" for "Configuration Management". While "Source Control" is certainly an important part of "Configuration Management", it is not "Configuration Management" in and of itself. In the 34 years that I've been a part of the "public" world, I've worked with only one company that practiced anything close to what "Configuration Management" actually is. It was a major DOD company and it made fewer "Source Control" mistakes even in software than even some of the smaller companies I've worked for because of good and proper "Configuration Management".

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search