Click here to Skip to main content
15,891,607 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: Laziest code you've seen this week? Pin
Randor 26-Jul-19 15:12
professional Randor 26-Jul-19 15:12 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch27-Jul-19 2:51
mvahoney the codewitch27-Jul-19 2:51 
GeneralRe: Laziest code you've seen this week? Pin
Rajesh R Subramanian26-Jul-19 18:49
professionalRajesh R Subramanian26-Jul-19 18:49 
GeneralRe: Laziest code you've seen this week? Pin
Tim Deveaux26-Jul-19 19:37
Tim Deveaux26-Jul-19 19:37 
GeneralRe: Laziest code you've seen this week? Pin
KarstenK26-Jul-19 22:16
mveKarstenK26-Jul-19 22:16 
GeneralRe: Laziest code you've seen this week? Pin
Member 916705728-Jul-19 20:47
Member 916705728-Jul-19 20:47 
GeneralRe: Laziest code you've seen this week? Pin
Simon Hart28-Jul-19 21:30
Simon Hart28-Jul-19 21:30 
GeneralRe: Laziest code you've seen this week? Pin
agolddog29-Jul-19 3:31
agolddog29-Jul-19 3:31 
if (claim.Contract.ProgramID == 280)
{
    taxAddOns = ClaimsAccess.AddTaxToAddOnList(taxAddOns, claim.Contract.ProductID);
}

and then the ClaimsAccess method hard-codes building the objects it returns, instead of looking at the database for them.

So:
- Too lazy to add an attribute to the Program data to represent the business need
-- Probably really means they didn't understand the business need
-- Of course, nobody else will ever want this to happen, so we shouldn't even make the program id a configuration value.
- hard-coding the construction of the objects instead of running off to the database

This is the sort of terrible approach I have to fight every day, day in and day out.
GeneralRe: Laziest code you've seen this week? Pin
obermd29-Jul-19 3:47
obermd29-Jul-19 3:47 
GeneralRe: Laziest code you've seen this week? Pin
nepdev29-Jul-19 4:39
nepdev29-Jul-19 4:39 
GeneralRe: Laziest code you've seen this week? Pin
Chris Maunder29-Jul-19 14:05
cofounderChris Maunder29-Jul-19 14:05 
GeneralI feel young again! Pin
Sander Rossel26-Jul-19 7:22
professionalSander Rossel26-Jul-19 7:22 
GeneralRe: I feel young again! Pin
Slacker00726-Jul-19 7:24
professionalSlacker00726-Jul-19 7:24 
GeneralRe: I feel young again! Pin
Sander Rossel26-Jul-19 7:37
professionalSander Rossel26-Jul-19 7:37 
GeneralRe: I feel young again! Pin
Slacker00726-Jul-19 7:41
professionalSlacker00726-Jul-19 7:41 
GeneralRe: I feel young again! Pin
Mark_Wallace26-Jul-19 9:23
Mark_Wallace26-Jul-19 9:23 
GeneralRe: I feel young again! Pin
Sander Rossel26-Jul-19 9:52
professionalSander Rossel26-Jul-19 9:52 
GeneralRe: I feel young again! Pin
RickZeeland26-Jul-19 10:01
mveRickZeeland26-Jul-19 10:01 
GeneralRe: I feel young again! Pin
RickZeeland26-Jul-19 9:31
mveRickZeeland26-Jul-19 9:31 
GeneralRe: I feel young again! Pin
Sander Rossel26-Jul-19 9:49
professionalSander Rossel26-Jul-19 9:49 
GeneralRe: I feel young again! Pin
RickZeeland26-Jul-19 9:58
mveRickZeeland26-Jul-19 9:58 
GeneralRe: I feel young again! Pin
Eddy Vluggen27-Jul-19 1:40
professionalEddy Vluggen27-Jul-19 1:40 
GeneralRe: I feel young again! Pin
Sander Rossel28-Jul-19 0:39
professionalSander Rossel28-Jul-19 0:39 
GeneralRe: I feel young again! Pin
Eddy Vluggen28-Jul-19 1:09
professionalEddy Vluggen28-Jul-19 1:09 
GeneralRe: I feel young again! Pin
Sander Rossel28-Jul-19 1:12
professionalSander Rossel28-Jul-19 1:12 

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.