Search
Winners

Win Prizes

Social Presence
Like us on Facebook
Advertisements
Ads

Rest when Tired

Vuyiswamb
Posted by Vuyiswamb under Sql Server on 8/6/2013 12:18:15 PM | Points: 75 | Views : 3429 | Status : [Member] [MVP] [Administrator]

When one is , he can write a code that is really not safe.  I usually force myself to work even if i am tired, but i know tomorrow morning i need to review my code. It is human to make mistakes but some mistakes can be avoided.  


When a developer is Sick health wise or tired , you must not allow the developer to continue working, let the developer rest or give your developer a day off. Because what he will write can cost you money later. A bug is created mostly when one does not apply his mind to what he is doing. Can a sick person apply his mind as he Should ? Can a dog tired person apply his mind. No its not going to work. 

Today while looking at the SQL Storeprocedure code , i came across a code ,that tells me that its either the person who was writing this code was Tired, Sick or he is still learning.


	DECLARE @COMP_TODAY DATETIME

DECLARE @TODAY DATETIME

SET @TODAY = GETDATE() --REMARKED FOR MONTHLY EXPORT TESTS
SET @TODAY = @COMP_TODAY
Well some people dont see anything wrong with the above code. 

Tell me, Is there anything wrong with the above TSQL


Thank you for posting at Dotnetfunda
[Administrator]

Comments or Responses


Login to post response