Click here to Skip to main content
13,096,660 members (96,383 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Ordered Custom License Plates Pin
Nish Sivakumar4-Apr-14 6:43
mvpNish Sivakumar4-Apr-14 6:43 
GeneralRe: Ordered Custom License Plates Pin
Nish Sivakumar4-Apr-14 6:46
mvpNish Sivakumar4-Apr-14 6:46 
GeneralRe: Ordered Custom License Plates Pin
Jörgen Andersson4-Apr-14 7:34
professionalJörgen Andersson4-Apr-14 7:34 
GeneralRe: Ordered Custom License Plates Pin
John Simmons / outlaw programmer4-Apr-14 6:56
memberJohn Simmons / outlaw programmer4-Apr-14 6:56 
GeneralRe: Ordered Custom License Plates Pin
Keith Barrow4-Apr-14 9:54
mentorKeith Barrow4-Apr-14 9:54 
GeneralRe: Ordered Custom License Plates Pin
John Simmons / outlaw programmer4-Apr-14 10:15
memberJohn Simmons / outlaw programmer4-Apr-14 10:15 
GeneralAPOD Pin
mark merrens4-Apr-14 4:53
membermark merrens4-Apr-14 4:53 
GeneralRe: APOD Pin
jeron14-Apr-14 4:58
memberjeron14-Apr-14 4:58 
GeneralYaay! Pin
d@nish 4-Apr-14 3:26
member d@nish 4-Apr-14 3:26 
GeneralRe: Yaay! Pin
Motor Viper4-Apr-14 4:34
memberMotor Viper4-Apr-14 4:34 
GeneralRe: Yaay! Pin
d@nish 4-Apr-14 5:15
member d@nish 4-Apr-14 5:15 
GeneralRe: Yaay! Pin
_Maxxx_4-Apr-14 12:31
professional_Maxxx_4-Apr-14 12:31 
GeneralRe: Yaay! Pin
d@nish 4-Apr-14 22:26
member d@nish 4-Apr-14 22:26 
GeneralSoft launch and lessons learned Pin
Ennis Ray Lynch, Jr.4-Apr-14 3:19
memberEnnis Ray Lynch, Jr.4-Apr-14 3:19 
A week or two ago I posted a query about which was best, LoadFooById(Int64) or LoadFoo(SomeParentObject). Really it was more just a passing question because I had read it on the Internet as someone ranting against the later suggesting that the former is the better approach. Well, I tend to do both depending on the when's and the where's and well, last night, at a soft product launch, LoadFooById bit me hard.

I needed to convert a three part string into the respective Id values. So I returned Tuple<int, int, int>, what could go wrong with that! Obviously, we all know. Yes, the other solution is a simple version with Just id values
public FooResult{
    OrderId
    CustomerId
    AsteroidId
}

But, the misses the validation which is equally important so I fully hydrated objects.

Its funny, with years of experience, you take short-cuts on personal projects, and they always bite you just like they did when you were just out of college!

BTW, I had to refund three customers for their asteroids so this mistake actually had a financial impact.

And if anyone mentions that I should have a unit test in place, well, um, *&#* you : ) [can a kid sister read gibberish]
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting.

"And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

"All users always want Excel" --Ennis Lynch

GeneralRe: Soft launch and lessons learned Pin
OriginalGriff4-Apr-14 3:55
protectorOriginalGriff4-Apr-14 3:55 
GeneralRe: Soft launch and lessons learned Pin
PIEBALDconsult4-Apr-14 4:20
memberPIEBALDconsult4-Apr-14 4:20 
Generalfeeling tired Pin
ravikhoda4-Apr-14 3:09
professionalravikhoda4-Apr-14 3:09 
GeneralRe: feeling tired Pin
RyanDev4-Apr-14 3:52
mvpRyanDev4-Apr-14 3:52 
GeneralRe: feeling tired Pin
Ravi Bhavnani4-Apr-14 4:39
professionalRavi Bhavnani4-Apr-14 4:39 
GeneralRe: feeling tired Pin
Marco Bertschi4-Apr-14 3:58
protectorMarco Bertschi4-Apr-14 3:58 
JokeRe: feeling tired Pin
Bassam Abdul-Baki4-Apr-14 4:08
professionalBassam Abdul-Baki4-Apr-14 4:08 
GeneralRe: feeling tired Pin
Bergholt Stuttley Johnson4-Apr-14 4:11
memberBergholt Stuttley Johnson4-Apr-14 4:11 
JokeRe: feeling tired Pin
Manfred R. Bihy4-Apr-14 4:19
memberManfred R. Bihy4-Apr-14 4:19 
GeneralRe: feeling tired Pin
Marco Bertschi4-Apr-14 4:20
protectorMarco Bertschi4-Apr-14 4:20 
JokeRe: feeling tired Pin
Manfred R. Bihy4-Apr-14 4:26
memberManfred R. Bihy4-Apr-14 4:26 
GeneralRe: feeling tired Pin
Marco Bertschi4-Apr-14 4:32
protectorMarco Bertschi4-Apr-14 4:32 
GeneralRe: feeling tired Pin
Kamen Nik4-Apr-14 5:52
memberKamen Nik4-Apr-14 5:52 
GeneralRe: feeling tired Pin
Bergholt Stuttley Johnson4-Apr-14 4:22
memberBergholt Stuttley Johnson4-Apr-14 4:22 
JokeRe: feeling tired Pin
Marco Bertschi4-Apr-14 4:21
protectorMarco Bertschi4-Apr-14 4:21 
GeneralRe: feeling tired Pin
Bassam Abdul-Baki4-Apr-14 4:23
professionalBassam Abdul-Baki4-Apr-14 4:23 
GeneralRe: feeling tired Pin
ravikhoda6-Apr-14 18:21
professionalravikhoda6-Apr-14 18:21 
GeneralI am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:05
protectorTadit Dash4-Apr-14 3:05 
GeneralRe: I am now a Microsoft MVP !!! Pin
ravikhoda4-Apr-14 3:11
professionalravikhoda4-Apr-14 3:11 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:12
protectorTadit Dash4-Apr-14 3:12 
GeneralRe: I am now a Microsoft MVP !!! Pin
ProgramFOX4-Apr-14 3:13
mvpProgramFOX4-Apr-14 3:13 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:22
protectorTadit Dash4-Apr-14 3:22 
GeneralRe: I am now a Microsoft MVP !!! Pin
Govindaraj Rangaraj4-Apr-14 3:16
memberGovindaraj Rangaraj4-Apr-14 3:16 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:22
protectorTadit Dash4-Apr-14 3:22 
GeneralRe: I am now a Microsoft MVP !!! Pin
Richard MacCutchan4-Apr-14 3:22
protectorRichard MacCutchan4-Apr-14 3:22 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:26
protectorTadit Dash4-Apr-14 3:26 
JokeRe: I am now a Microsoft MVP !!! Pin
d@nish 4-Apr-14 3:23
member d@nish 4-Apr-14 3:23 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:30
protectorTadit Dash4-Apr-14 3:30 
GeneralRe: I am now a Microsoft MVP !!! Pin
S Houghtelin4-Apr-14 3:25
professionalS Houghtelin4-Apr-14 3:25 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 3:27
protectorTadit Dash4-Apr-14 3:27 
GeneralRe: I am now a Microsoft MVP !!! Pin
Schatak4-Apr-14 3:48
memberSchatak4-Apr-14 3:48 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 6:25
protectorTadit Dash4-Apr-14 6:25 
GeneralRe: I am now a Microsoft MVP !!! Pin
Agent__0074-Apr-14 3:49
professionalAgent__0074-Apr-14 3:49 
GeneralRe: I am now a Microsoft MVP !!! Pin
Tadit Dash4-Apr-14 6:22
protectorTadit Dash4-Apr-14 6:22 
GeneralRe: I am now a Microsoft MVP !!! Pin
OriginalGriff4-Apr-14 3:52
protectorOriginalGriff4-Apr-14 3:52 
GeneralRe: I am now a Microsoft MVP !!! Pin
d@nish 4-Apr-14 4:03
member d@nish 4-Apr-14 4:03 

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.


Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 23 Aug 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid