Click here to Skip to main content
15,890,882 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.

 
GeneralRe: Developers Who Test (and Don't) Pin
DodgyCode6-Jan-17 0:52
DodgyCode6-Jan-17 0:52 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 2:13
mvaraddevus6-Jan-17 2:13 
GeneralRe: Developers Who Test (and Don't) Pin
DodgyCode6-Jan-17 2:31
DodgyCode6-Jan-17 2:31 
GeneralRe: Developers Who Test (and Don't) Pin
AndrewDavie6-Jan-17 0:53
AndrewDavie6-Jan-17 0:53 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 2:17
mvaraddevus6-Jan-17 2:17 
GeneralRe: Developers Who Test (and Don't) Pin
kalberts6-Jan-17 1:48
kalberts6-Jan-17 1:48 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 2:20
mvaraddevus6-Jan-17 2:20 
GeneralRe: Developers Who Test (and Don't) Pin
englebart6-Jan-17 2:20
professionalenglebart6-Jan-17 2:20 
I also find that if you want to make testable code, stay as "functional" in your programming as much as possible.

Anecdote:

I recently had to rework a monolithic module. The final result was 4 independent modules (separation of concerns) that were pure functional (inputs, outputs, no side effects) which generated almost the same information, but it was a lot easier to test/debug/capture intermediate results/replay/prove/etc.

The functional/separated modules actually were a lot cleaner and faster (less iterations) since one data structure in the old monolithic was split into separate,focused structures in the new modules.

After the refactor was complete, then the new requirements were added with clearly observable/diff-able results in outputs of the affected modules.

GeneralRe: Developers Who Test (and Don't) Pin
charlieg6-Jan-17 3:26
charlieg6-Jan-17 3:26 
GeneralRe: Developers Who Test (and Don't) Pin
charlieg6-Jan-17 3:06
charlieg6-Jan-17 3:06 
GeneralRe: Developers Who Test (and Don't) Pin
umjaco696-Jan-17 3:22
umjaco696-Jan-17 3:22 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 4:23
mvaraddevus6-Jan-17 4:23 
GeneralRe: Developers Who Test (and Don't) Pin
agolddog6-Jan-17 3:37
agolddog6-Jan-17 3:37 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 4:24
mvaraddevus6-Jan-17 4:24 
GeneralRe: Developers Who Test (and Don't) Pin
MikeTheFid6-Jan-17 4:27
MikeTheFid6-Jan-17 4:27 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 5:39
mvaraddevus6-Jan-17 5:39 
GeneralRe: Developers Who Test (and Don't) Pin
Kirk 103898216-Jan-17 5:08
Kirk 103898216-Jan-17 5:08 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 7:12
mvaraddevus6-Jan-17 7:12 
GeneralRe: Developers Who Test (and Don't) Pin
SeattleC++6-Jan-17 5:11
SeattleC++6-Jan-17 5:11 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 7:15
mvaraddevus6-Jan-17 7:15 
GeneralRe: Developers Who Test (and Don't) Pin
Matt McGuire6-Jan-17 5:12
professionalMatt McGuire6-Jan-17 5:12 
GeneralRe: Developers Who Test (and Don't) Pin
Member 104029926-Jan-17 5:51
professionalMember 104029926-Jan-17 5:51 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 7:17
mvaraddevus6-Jan-17 7:17 
GeneralRe: Developers Who Test (and Don't) Pin
Member 104029926-Jan-17 5:48
professionalMember 104029926-Jan-17 5:48 
GeneralRe: Developers Who Test (and Don't) Pin
raddevus6-Jan-17 7:26
mvaraddevus6-Jan-17 7:26 

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.