Click here to Skip to main content
14,389,999 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: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 12:41
mveEddy Vluggen20-Oct-19 12:41 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Member 798912220-Oct-19 10:17
MemberMember 798912220-Oct-19 10:17 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 10:40
professionalSander Rossel20-Oct-19 10:40 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 10:42
professionalGreg Utas20-Oct-19 10:42 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
charlieg21-Oct-19 14:10
Membercharlieg21-Oct-19 14:10 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
V.20-Oct-19 21:49
professionalV.20-Oct-19 21:49 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Abbas A. Ali20-Oct-19 21:51
professionalAbbas A. Ali20-Oct-19 21:51 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Davyd McColl21-Oct-19 0:47
MemberDavyd McColl21-Oct-19 0:47 
that code block was a common trick from VB6 days -- there's code under a button somewhere and that has to run for some time, but async code is hard, so we just "block" logical progression by waiting for completion (in this case, 5 seconds), but we have to `Application.DoEvents()` now and then or the app becomes unresponsive.

It's not an ideal situation -- `Thread.Sleep()` could rather be replaced by something like `Test if mail sent`, but that's why it's there.
GeneralRe: Why you shouldn't inherit someone else's code... Pin
glennPattonWork21-Oct-19 1:20
professionalglennPattonWork21-Oct-19 1:20 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Gary Wheeler21-Oct-19 3:16
MemberGary Wheeler21-Oct-19 3:16 
Generalbloated code base begs for semantic liposuction ? takes a special blade Pin
BillWoodruff20-Oct-19 3:10
mveBillWoodruff20-Oct-19 3:10 
GeneralRe: bloated code base begs for semantic liposuction ? takes a special blade Pin
Eddy Vluggen20-Oct-19 7:21
mveEddy Vluggen20-Oct-19 7:21 
GeneralRe: bloated code base begs for semantic liposuction ? takes a special blade Pin
Roger Wright21-Oct-19 19:08
professionalRoger Wright21-Oct-19 19:08 
General3D printers are OK but Pin
lopatir19-Oct-19 23:15
Memberlopatir19-Oct-19 23:15 
GeneralRe: 3D printers are OK but Pin
Daniel Pfeffer19-Oct-19 23:45
professionalDaniel Pfeffer19-Oct-19 23:45 
GeneralRe: 3D printers are OK but Pin
BillWoodruff20-Oct-19 4:26
mveBillWoodruff20-Oct-19 4:26 
GeneralRe: 3D printers are OK but Pin
dandy7220-Oct-19 6:06
Memberdandy7220-Oct-19 6:06 
GeneralFirst time a Samsung phone got me excited Pin
Chris Maunder19-Oct-19 13:10
cofounderChris Maunder19-Oct-19 13:10 
GeneralRe: First time a Samsung phone got me excited Pin
Jörgen Andersson19-Oct-19 23:48
professionalJörgen Andersson19-Oct-19 23:48 
GeneralRe: First time a Samsung phone got me excited Pin
Chris Maunder20-Oct-19 11:53
cofounderChris Maunder20-Oct-19 11:53 
GeneralRe: First time a Samsung phone got me excited Pin
Jörgen Andersson20-Oct-19 23:01
professionalJörgen Andersson20-Oct-19 23:01 
GeneralRe: First time a Samsung phone got me excited Pin
Chris Maunder21-Oct-19 19:59
cofounderChris Maunder21-Oct-19 19:59 
GeneralRe: First time a Samsung phone got me excited Pin
Jörgen Andersson21-Oct-19 21:01
professionalJörgen Andersson21-Oct-19 21:01 
GeneralRe: First time a Samsung phone got me excited Pin
Roger Wright21-Oct-19 19:16
professionalRoger Wright21-Oct-19 19:16 
GeneralRe: First time a Samsung phone got me excited Pin
Sander Rossel20-Oct-19 3:15
professionalSander Rossel20-Oct-19 3:15 

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.