Click here to Skip to main content
14,549,334 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.
 
QuestionAny Success with MSIX? Pin
KEastman15-Feb-19 9:20
MemberKEastman15-Feb-19 9:20 
AnswerRe: Any Success with MSIX? Pin
Mark_Wallace15-Feb-19 13:26
MemberMark_Wallace15-Feb-19 13:26 
AnswerRe: Any Success with MSIX? Pin
abmv15-Feb-19 18:48
professionalabmv15-Feb-19 18:48 
AnswerRe: Any Success with MSIX? Pin
dandy7216-Feb-19 6:03
Memberdandy7216-Feb-19 6:03 
QuestionMultiple returns from methods or clean code flow Pin
  Forogar  15-Feb-19 5:11
professional  Forogar  15-Feb-19 5:11 
AnswerRe: Multiple returns from methods or clean code flow Pin
PIEBALDconsult15-Feb-19 5:28
professionalPIEBALDconsult15-Feb-19 5:28 
AnswerRe: Multiple returns from methods or clean code flow PinPopular
User 483504715-Feb-19 5:37
MemberUser 483504715-Feb-19 5:37 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 8:03
MemberCodeWraith15-Feb-19 8:03 
Urban Cricket wrote:
John Carmack uses early returns.
Looking at my bookshelf: The Graphics Programming Black Book, by Michael Abrash and with a foreword by John Carmack. Fearsomely thick tome, full of how to write fast graphics code.

That kind of processor cycle counting on a 386 or 486 is outdated, while the algorithmic optimizations remain as current as ever, especially if you are able to delegate them to the graphics processor. Early returns as a way to waste no processor cycle too much in a function is only rarely important anymore.
I have lived with several Zen masters - all of them were cats.

His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

GeneralRe: Multiple returns from methods or clean code flow Pin
User 483504715-Feb-19 8:17
MemberUser 483504715-Feb-19 8:17 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 8:25
MemberCodeWraith15-Feb-19 8:25 
GeneralRe: Multiple returns from methods or clean code flow Pin
sasadler18-Feb-19 5:43
Membersasadler18-Feb-19 5:43 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith18-Feb-19 6:05
MemberCodeWraith18-Feb-19 6:05 
GeneralRe: Multiple returns from methods or clean code flow Pin
sasadler18-Feb-19 9:42
Membersasadler18-Feb-19 9:42 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith18-Feb-19 13:18
MemberCodeWraith18-Feb-19 13:18 
GeneralRe: Multiple returns from methods or clean code flow Pin
sasadler19-Feb-19 5:32
Membersasadler19-Feb-19 5:32 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith19-Feb-19 5:50
MemberCodeWraith19-Feb-19 5:50 
GeneralRe: Multiple returns from methods or clean code flow Pin
sasadler19-Feb-19 6:16
Membersasadler19-Feb-19 6:16 
AnswerRe: Multiple returns from methods or clean code flow Pin
Simon_Whale15-Feb-19 6:00
professionalSimon_Whale15-Feb-19 6:00 
GeneralRe: Multiple returns from methods or clean code flow Pin
  Forogar  15-Feb-19 6:02
professional  Forogar  15-Feb-19 6:02 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 8:06
MemberCodeWraith15-Feb-19 8:06 
GeneralRe: Multiple returns from methods or clean code flow Pin
charlieg15-Feb-19 17:13
Membercharlieg15-Feb-19 17:13 
AnswerRe: Multiple returns from methods or clean code flow Pin
User 483504715-Feb-19 6:09
MemberUser 483504715-Feb-19 6:09 
AnswerRe: Multiple returns from methods or clean code flow Pin
Jörgen Andersson15-Feb-19 6:10
professionalJörgen Andersson15-Feb-19 6:10 
GeneralRe: Multiple returns from methods or clean code flow Pin
OriginalGriff15-Feb-19 6:11
mveOriginalGriff15-Feb-19 6:11 
GeneralRe: Multiple returns from methods or clean code flow Pin
Jörgen Andersson15-Feb-19 6:13
professionalJörgen Andersson15-Feb-19 6:13 

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.