Click here to Skip to main content
15,919,132 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: Code Review - thoughts Pin
Slacker00729-Jan-15 6:43
professionalSlacker00729-Jan-15 6:43 
GeneralRe: Code Review - thoughts Pin
_Maxxx_29-Jan-15 14:26
professional_Maxxx_29-Jan-15 14:26 
GeneralRe: Code Review - thoughts Pin
Marc Clifton30-Jan-15 11:11
mvaMarc Clifton30-Jan-15 11:11 
GeneralRe: Code Review - thoughts Pin
_Maxxx_31-Jan-15 0:49
professional_Maxxx_31-Jan-15 0:49 
GeneralRe: Code Review - thoughts Pin
Marc Clifton31-Jan-15 2:51
mvaMarc Clifton31-Jan-15 2:51 
GeneralRe: Code Review - thoughts Pin
jschell30-Jan-15 10:56
jschell30-Jan-15 10:56 
GeneralRe: Code Review - thoughts Pin
Marc Clifton30-Jan-15 11:12
mvaMarc Clifton30-Jan-15 11:12 
GeneralRe: Code Review - thoughts Pin
_Maxxx_30-Jan-15 21:47
professional_Maxxx_30-Jan-15 21:47 
I disagree.

This assumes that you are right, your way is best, every time.

I've come across exactly that attitude many times - and it's not a 'negative' arrogance, but it can be very misguided.

As an example.

A dev who is streets ahead of my level (and I'm a demi-god) had change a bunch of Linq code from

var found = collectionClass.Where(i => i.Field == searchValue).FirstOrDefault();

to

var found = collectionClass.FirstOrDefault(i => i.Field == searchValue);

I asked why and was told it is more efficient.

This is simply not true. (IN fact a coded loop is the more efficient, or using parallel, but that;s not the point!) That dev 'knew' he was right, to the point of changing code that worked, to be more efficient, when he as in fact making it less efficient.

A code review not only stopped that, but allowed us to educate the team.

(it also allowed me to point out that writing benchmarking programs and running them from the IDE in debug is a waste of time!)
PooperPig - Coming Soon

GeneralRe: Code Review - thoughts Pin
Marc Clifton31-Jan-15 2:43
mvaMarc Clifton31-Jan-15 2:43 
GeneralRe: Code Review - thoughts Pin
jschell3-Feb-15 10:51
jschell3-Feb-15 10:51 
AnswerRe: Code Review - thoughts Pin
Munchies_Matt29-Jan-15 5:18
Munchies_Matt29-Jan-15 5:18 
GeneralRe: Code Review - thoughts Pin
Marc Clifton29-Jan-15 5:55
mvaMarc Clifton29-Jan-15 5:55 
AnswerRe: Code Review - thoughts Pin
Jörgen Andersson29-Jan-15 7:00
professionalJörgen Andersson29-Jan-15 7:00 
AnswerRe: Code Review - thoughts Pin
Sander Rossel29-Jan-15 7:57
professionalSander Rossel29-Jan-15 7:57 
GeneralRe: Code Review - thoughts Pin
Slacker00729-Jan-15 8:02
professionalSlacker00729-Jan-15 8:02 
GeneralRe: Code Review - thoughts Pin
Sander Rossel29-Jan-15 8:14
professionalSander Rossel29-Jan-15 8:14 
GeneralRe: Code Review - thoughts Pin
Slacker00729-Jan-15 8:24
professionalSlacker00729-Jan-15 8:24 
GeneralRe: Code Review - thoughts Pin
Sander Rossel29-Jan-15 8:52
professionalSander Rossel29-Jan-15 8:52 
GeneralRe: Code Review - thoughts Pin
jschell30-Jan-15 11:01
jschell30-Jan-15 11:01 
AnswerRe: Code Review - thoughts Pin
Super Lloyd29-Jan-15 13:16
Super Lloyd29-Jan-15 13:16 
AnswerRe: Code Review - thoughts Pin
Simon Lee Shugar29-Jan-15 22:32
Simon Lee Shugar29-Jan-15 22:32 
GeneralRe: Code Review - thoughts Pin
Slacker00730-Jan-15 5:12
professionalSlacker00730-Jan-15 5:12 
AnswerRe: Code Review - thoughts Pin
coding4ever30-Jan-15 2:31
professionalcoding4ever30-Jan-15 2:31 
AnswerRe: Code Review - thoughts Pin
tom144330-Jan-15 3:03
tom144330-Jan-15 3:03 
GeneralRe: Code Review - thoughts Pin
Slacker00730-Jan-15 5:07
professionalSlacker00730-Jan-15 5:07 

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.