Click here to Skip to main content
14,302,860 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: I am disappoint Pin
GKP199227-Jul-19 22:43
professionalGKP199227-Jul-19 22:43 
GeneralRe: I am disappoint Pin
Munchies_Matt27-Jul-19 19:02
memberMunchies_Matt27-Jul-19 19:02 
GeneralRe: I am disappoint Pin
honey the codewitch27-Jul-19 23:59
memberhoney the codewitch27-Jul-19 23:59 
GeneralRe: I am disappoint Pin
Munchies_Matt28-Jul-19 0:08
memberMunchies_Matt28-Jul-19 0:08 
GeneralRe: I am disappoint Pin
Richard Deeming29-Jul-19 8:02
mveRichard Deeming29-Jul-19 8:02 
GeneralRe: I am disappoint Pin
honey the codewitch29-Jul-19 8:03
memberhoney the codewitch29-Jul-19 8:03 
GeneralBallmer being Ballmer, again. Pin
MarkTJohnson26-Jul-19 10:01
professionalMarkTJohnson26-Jul-19 10:01 
GeneralLaziest code you've seen this week? Pin
Chris Maunder26-Jul-19 7:32
adminChris Maunder26-Jul-19 7:32 
I have deadlines and I have code to write, and that means I'm constantly doing the devil vs angel "but no one will notice" conversation with code. Maybe I do var count = GetCount(); which seems fine except it's lazy and GetCount() actually returns a long not an int and so the next person comes along wanting to punch you because they have to do a cast.

Or instead of using a repeater in a WebForms app* I just inline the logic directly into the ASPX page. Or I do

string output = "value1";
output += "value2";
output += "value2";
...
output += "valueN";

return output;


Another 4 hrs till beer o'clock and I know things will go downhill properly before then.

So what's the worst you've seen done. Or done yourself?


* And yes, the real laziness here is not rewriting the entire WebForms app in MVC. Or Angular. Or Blazor. Or ...
cheers
Chris Maunder

GeneralRe: Laziest code you've seen this week? Pin
OriginalGriff26-Jul-19 8:03
protectorOriginalGriff26-Jul-19 8:03 
GeneralRe: Laziest code you've seen this week? Pin
kmoorevs26-Jul-19 8:25
memberkmoorevs26-Jul-19 8:25 
GeneralRe: Laziest code you've seen this week? Pin
Sander Rossel26-Jul-19 8:43
professionalSander Rossel26-Jul-19 8:43 
GeneralRe: Laziest code you've seen this week? Pin
Rick York26-Jul-19 9:26
mveRick York26-Jul-19 9:26 
GeneralRe: Laziest code you've seen this week? Pin
Sander Rossel26-Jul-19 9:54
professionalSander Rossel26-Jul-19 9:54 
AnswerRe: Laziest code you've seen this week? Pin
lopatir26-Jul-19 8:48
memberlopatir26-Jul-19 8:48 
GeneralRe: Laziest code you've seen this week? Pin
RickZeeland26-Jul-19 9:27
mveRickZeeland26-Jul-19 9:27 
GeneralRe: Laziest code you've seen this week? Pin
Slacker00726-Jul-19 9:47
professionalSlacker00726-Jul-19 9:47 
GeneralYours! Pin
CPallini26-Jul-19 11:24
mveCPallini26-Jul-19 11:24 
GeneralRe: Yours! Pin
Gary Wheeler29-Jul-19 2:04
memberGary Wheeler29-Jul-19 2:04 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:42
memberhoney the codewitch26-Jul-19 14:42 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:45
memberhoney the codewitch26-Jul-19 14:45 
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
memberhoney 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
memberTim Deveaux26-Jul-19 19:37 
GeneralRe: Laziest code you've seen this week? Pin
KarstenK26-Jul-19 22:16
mveKarstenK26-Jul-19 22:16 

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.