Click here to Skip to main content
14,638,468 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: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 8:16
MemberCodeWraith15-Feb-19 8:16 
GeneralRe: Multiple returns from methods or clean code flow Pin
ZurdoDev15-Feb-19 8:18
mveZurdoDev15-Feb-19 8:18 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 8:51
MemberCodeWraith15-Feb-19 8:51 
GeneralRe: Multiple returns from methods or clean code flow Pin
ZurdoDev15-Feb-19 9:03
mveZurdoDev15-Feb-19 9:03 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith15-Feb-19 9:47
MemberCodeWraith15-Feb-19 9:47 
GeneralRe: Multiple returns from methods or clean code flow Pin
Member 798912217-Feb-19 22:02
MemberMember 798912217-Feb-19 22:02 
GeneralRe: Multiple returns from methods or clean code flow Pin
Mark_Wallace15-Feb-19 10:33
MemberMark_Wallace15-Feb-19 10:33 
GeneralRe: Multiple returns from methods or clean code flow Pin
CodeWraith17-Feb-19 22:48
MemberCodeWraith17-Feb-19 22:48 
Mark_Wallace wrote:
Save your processor a billionth of a second of effort
Depending on the processor and the stack protocol you use to pass parameters and return values, you may find that you gain little to nothing.

Been there recently when I had to modify the 'traditional' call protocol of my old computer. Now it uses a second stack to pass parameters and return values, instead of inlining the parameters with the code for the call. Yuck, was way to close to self modifying code!. And I extended the address of the subroutine to 24 bits, so that I now can do bank switching in the calling protocol and call code anywhere in a 16 Mb memory space without the processor noticing anything. Not bad for a 40 year old 8 bit computer. If only there was a convenient way to access data anywhere in that memory space as well.
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
Mark_Wallace18-Feb-19 6:52
MemberMark_Wallace18-Feb-19 6:52 
AnswerRe: Multiple returns from methods or clean code flow Pin
MarkTJohnson15-Feb-19 8:16
professionalMarkTJohnson15-Feb-19 8:16 
AnswerRe: Multiple returns from methods or clean code flow Pin
Maximilien15-Feb-19 8:17
MemberMaximilien15-Feb-19 8:17 
GeneralRe: Multiple returns from methods or clean code flow Pin
  Forogar  15-Feb-19 8:24
professional  Forogar  15-Feb-19 8:24 
QuestionRe: Multiple returns from methods or clean code flow Pin
megaadam17-Feb-19 22:23
professionalmegaadam17-Feb-19 22:23 
AnswerRe: Multiple returns from methods or clean code flow Pin
0x01AA15-Feb-19 8:25
mve0x01AA15-Feb-19 8:25 
AnswerRe: Multiple returns from methods or clean code flow Pin
Rajesh R Subramanian15-Feb-19 9:11
professionalRajesh R Subramanian15-Feb-19 9:11 
AnswerRe: Multiple returns from methods or clean code flow Pin
Slacker00715-Feb-19 10:19
professionalSlacker00715-Feb-19 10:19 
AnswerRe: Multiple returns from methods or clean code flow Pin
Mark_Wallace15-Feb-19 10:27
MemberMark_Wallace15-Feb-19 10:27 
AnswerRe: Multiple returns from methods or clean code flow Pin
Tim Deveaux15-Feb-19 12:18
MemberTim Deveaux15-Feb-19 12:18 
GeneralRe: Multiple returns from methods or clean code flow Pin
Mark_Wallace15-Feb-19 12:53
MemberMark_Wallace15-Feb-19 12:53 
GeneralRe: Multiple returns from methods or clean code flow Pin
Tim Deveaux15-Feb-19 13:26
MemberTim Deveaux15-Feb-19 13:26 
AnswerRe: Multiple returns from methods or clean code flow Pin
Marc Clifton15-Feb-19 13:08
mvaMarc Clifton15-Feb-19 13:08 
GeneralRe: Multiple returns from methods or clean code flow Pin
BillWoodruff19-Feb-19 14:11
mveBillWoodruff19-Feb-19 14:11 
AnswerRe: Multiple returns from methods or clean code flow Pin
charlieg15-Feb-19 17:21
Membercharlieg15-Feb-19 17:21 
AnswerRe: Multiple returns from methods or clean code flow Pin
Member 916705717-Feb-19 20:42
MemberMember 916705717-Feb-19 20:42 
AnswerRe: Multiple returns from methods or clean code flow Pin
Delphi.7.Solutions17-Feb-19 21:52
MemberDelphi.7.Solutions17-Feb-19 21:52 

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.