Click here to Skip to main content
15,910,877 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: When you only have production environment to test your code Pin
Tim Carmichael23-Jun-14 2:20
Tim Carmichael23-Jun-14 2:20 
AnswerRe: When you only have production environment to test your code Pin
Sharon Freas23-Jun-14 5:04
Sharon Freas23-Jun-14 5:04 
GeneralRe: When you only have production environment to test your code Pin
BrainiacV23-Jun-14 8:10
BrainiacV23-Jun-14 8:10 
AnswerRe: When you only have production environment to test your code Pin
User 1013254623-Jun-14 5:32
User 1013254623-Jun-14 5:32 
AnswerRe: When you only have production environment to test your code - roll your own Pin
bojammis23-Jun-14 5:56
professionalbojammis23-Jun-14 5:56 
AnswerRe: When you only have production environment to test your code Pin
BrainiacV23-Jun-14 7:49
BrainiacV23-Jun-14 7:49 
AnswerRe: When you only have production environment to test your code Pin
Richard Jones23-Jun-14 9:16
Richard Jones23-Jun-14 9:16 
AnswerRe: When you only have production environment to test your code Pin
jschell23-Jun-14 9:17
jschell23-Jun-14 9:17 
virang_21 wrote:
What would you do when there is no way to replicate situations happening in production environment ?


In normal server work there are ways to help with the situation.
1- Add logging (over time one would just use the log output.)
2- Build a simulator (over time it gets better.)
3- Unit testing.
4- Very rigorous design (at implementation level) and rigorous code reviews.

The fourth is often to time consuming to apply to all code and probably too boring for most developers. Although the later would seem to be just something that developers must do the reality is that humans will tend to get glassy eyed if one attempts to force this for all code. Just the way humans work. But eye balling a very small but very critical subset can help.

The last one can do as an independent developer but one is still subject the to the boredom factor as well. At a minimum I find for myself that I only attempt such detail reviews of my own code by waiting a day. If I attempt it immediately I don't really see the code.

3 and 4 can be used together. However whether applicable depends on specifics of the system.
GeneralRe: When you only have production environment to test your code Pin
virang_2123-Jun-14 11:08
virang_2123-Jun-14 11:08 
GeneralRe: When you only have production environment to test your code Pin
jschell24-Jun-14 8:21
jschell24-Jun-14 8:21 
AnswerRe: When you only have production environment to test your code Pin
PIEBALDconsult23-Jun-14 12:38
mvePIEBALDconsult23-Jun-14 12:38 
GeneralI might just put in a bid PinPopular
Pete O'Hanlon22-Jun-14 11:12
mvePete O'Hanlon22-Jun-14 11:12 
GeneralRe: I might just put in a bid Pin
DaveAuld22-Jun-14 11:45
professionalDaveAuld22-Jun-14 11:45 
GeneralRe: I might just put in a bid Pin
Ravi Bhavnani22-Jun-14 12:18
professionalRavi Bhavnani22-Jun-14 12:18 
GeneralRe: I might just put in a bid Pin
Kenneth Haugland22-Jun-14 12:55
mvaKenneth Haugland22-Jun-14 12:55 
GeneralRe: I might just put in a bid Pin
Ravi Bhavnani22-Jun-14 12:57
professionalRavi Bhavnani22-Jun-14 12:57 
GeneralRe: I might just put in a bid Pin
User 5924122-Jun-14 13:10
User 5924122-Jun-14 13:10 
JokeRe: I might just put in a bid Pin
Wes Aday22-Jun-14 14:26
professionalWes Aday22-Jun-14 14:26 
GeneralRe: I might just put in a bid Pin
Mike Hankey22-Jun-14 13:43
mveMike Hankey22-Jun-14 13:43 
GeneralRe: I might just put in a bid PinPopular
OriginalGriff22-Jun-14 18:58
mveOriginalGriff22-Jun-14 18:58 
GeneralRe: I might just put in a bid Pin
Mike Hankey23-Jun-14 2:51
mveMike Hankey23-Jun-14 2:51 
GeneralHas anyone tried Flash64 on Windows recently Pin
Dan Neely22-Jun-14 10:20
Dan Neely22-Jun-14 10:20 
GeneralRe: Has anyone tried Flash64 on Windows recently Pin
JMK-NI22-Jun-14 12:07
professionalJMK-NI22-Jun-14 12:07 
GeneralRe: Has anyone tried Flash64 on Windows recently Pin
Dan Neely22-Jun-14 12:22
Dan Neely22-Jun-14 12:22 
GeneralRe: Has anyone tried Flash64 on Windows recently Pin
Chris Maunder22-Jun-14 18:51
cofounderChris Maunder22-Jun-14 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.