2,619 reputation
921
bio website justinshield.com
location Australia
age 35
visits member for 3 years
seen Jul 24 at 0:17

Using stackoverflow to help promote enlightenment.


Jul
6
awarded  Yearling
Jul
3
awarded  Nice Question
Apr
1
awarded  Notable Question
Mar
23
awarded  Nice Answer
Jul
6
awarded  Yearling
Apr
9
revised Which .NET technology would work as an improvement for this client/server application?
added 39 characters in body
Apr
8
answered Which .NET technology would work as an improvement for this client/server application?
Nov
30
awarded  Popular Question
Sep
12
awarded  Nice Answer
Jul
6
awarded  Yearling
Jun
8
awarded  Caucus
Feb
12
revised Designing a scalable and robust retry mechanism
Mistook exponential for logarithmic (swapped the two terms)
Feb
12
answered Designing a scalable and robust retry mechanism
Feb
11
answered How to add personal android projects to my CV to get into Android job market
Jan
31
answered MS Certifications for Non-IT students
Nov
7
answered I keep failing hands on part of the interview, suggestions?
Sep
19
awarded  Nice Answer
Sep
11
awarded  Nice Answer
Aug
30
comment Should a function use premature returns or wrap everything in if clauses?
@mattnz - I'd avoid performing a return in the middle if possible. However if you do need to return in the middle (I probably have only ever done that once in the past 4 years). It will be easier to find/read in a self-commenting code format than a 100+ line method with multiple returns. Besides, in your example you would check to see if you require milk in the validation portion of the function. If you are out of milk validation might throw an exception throw MilkNotFoundException("Sorry you're out of milk");
Aug
30
revised Should a function use premature returns or wrap everything in if clauses?
edited body