Click here to Skip to main content
15,891,529 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: Multiple returns from methods or clean code flow Pin
Jeroen_R18-Feb-19 1:38
Jeroen_R18-Feb-19 1:38 
AnswerRe: Multiple returns from methods or clean code flow Pin
Michael Breeden18-Feb-19 2:00
Michael Breeden18-Feb-19 2:00 
AnswerRe: Multiple returns from methods or clean code flow Pin
Peter R. Fletcher18-Feb-19 3:18
Peter R. Fletcher18-Feb-19 3:18 
AnswerRe: Multiple returns from methods or clean code flow Pin
obermd18-Feb-19 4:30
obermd18-Feb-19 4:30 
AnswerRe: Multiple returns from methods or clean code flow Pin
SpiritualMadMan18-Feb-19 4:54
SpiritualMadMan18-Feb-19 4:54 
AnswerRe: Multiple returns from methods or clean code flow Pin
Martin ISDN18-Feb-19 5:15
Martin ISDN18-Feb-19 5:15 
AnswerRe: Multiple returns from methods or clean code flow Pin
TylerMc00718-Feb-19 5:52
TylerMc00718-Feb-19 5:52 
AnswerRe: Multiple returns from methods or clean code flow Pin
MSBassSinger18-Feb-19 7:55
professionalMSBassSinger18-Feb-19 7:55 
One way into a method, one way out (not counting ref and out parameters, which are intuitively obvious).

After 40+ years in software development, my tolerance for lazy programmers that just want to hack up some code and get the minimum done with the least time - is very low.

Some software shops are starting to use an approach I have used for years when I hired developers. Instead of hiring 10 "full stack" developers with an eye to cheap labor, H1-B and other inexperienced programmers cranking out poor code that just barely works for today, they take a different road.

For those 10 positions, they hire 6 experienced software engineers that understand how to code for value engineering, supportability, likely future needs, performance, readability, and meaningful comments. A 7th junior developer is hired who has an attitude and willingness to learn from the senior developers - a person whose character is teachable. No H1-B's.

The end result is better code, faster development cycles, fewer bugs, and lower life cycle cost.

Experienced software engineers understand how incredibly sophomoric it is to have multiple returns.

Now get off my lawn! Smile | :)
GeneralRe: Multiple returns from methods or clean code flow Pin
BillWoodruff19-Feb-19 15:28
professionalBillWoodruff19-Feb-19 15:28 
GeneralRe: Multiple returns from methods or clean code flow Pin
MSBassSinger19-Feb-19 15:34
professionalMSBassSinger19-Feb-19 15:34 
AnswerRe: Multiple returns from methods or clean code flow Pin
SeattleC++18-Feb-19 12:13
SeattleC++18-Feb-19 12:13 
AnswerRe: Multiple returns from methods or clean code flow Pin
frazGJF18-Feb-19 18:08
frazGJF18-Feb-19 18:08 
AnswerRe: Multiple returns from methods or clean code flow Pin
BillWoodruff19-Feb-19 0:45
professionalBillWoodruff19-Feb-19 0:45 
AnswerRe: Multiple returns from methods or clean code flow Pin
S.Donovan19-Feb-19 3:03
professionalS.Donovan19-Feb-19 3:03 
AnswerRe: Multiple returns from methods or clean code flow Pin
Kirk 1038982119-Feb-19 7:32
Kirk 1038982119-Feb-19 7:32 
GeneralThought of the Day Pin
OriginalGriff15-Feb-19 4:50
mveOriginalGriff15-Feb-19 4:50 
GeneralRe: Thought of the Day Pin
User 483504715-Feb-19 5:05
User 483504715-Feb-19 5:05 
GeneralRe: Thought of the Day Pin
lopatir15-Feb-19 5:09
lopatir15-Feb-19 5:09 
GeneralRe: Thought of the Day Pin
dandy7215-Feb-19 5:36
dandy7215-Feb-19 5:36 
GeneralRe: Thought of the Day Pin
  Forogar  15-Feb-19 5:37
professional  Forogar  15-Feb-19 5:37 
GeneralRe: Thought of the Day Pin
Rajesh R Subramanian15-Feb-19 9:15
professionalRajesh R Subramanian15-Feb-19 9:15 
GeneralRe: Thought of the Day Pin
dandy7216-Feb-19 5:53
dandy7216-Feb-19 5:53 
GeneralRe: Thought of the Day Pin
Rajesh R Subramanian18-Feb-19 1:24
professionalRajesh R Subramanian18-Feb-19 1:24 
GeneralRe: Thought of the Day Pin
megaadam15-Feb-19 5:42
professionalmegaadam15-Feb-19 5:42 
GeneralRe: Thought of the Day Pin
jeron115-Feb-19 6:11
jeron115-Feb-19 6:11 

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.