Click here to Skip to main content
15,901,035 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
Munchies_Matt27-Jul-19 19:02 
GeneralRe: I am disappoint Pin
honey the codewitch27-Jul-19 23:59
mvahoney the codewitch27-Jul-19 23:59 
GeneralRe: I am disappoint Pin
Munchies_Matt28-Jul-19 0:08
Munchies_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
mvahoney 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
cofounderChris 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

C#
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
mveOriginalGriff26-Jul-19 8:03 
GeneralRe: Laziest code you've seen this week? Pin
kmoorevs26-Jul-19 8:25
kmoorevs26-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
lopatir26-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
Gary Wheeler29-Jul-19 2:04 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:42
mvahoney the codewitch26-Jul-19 14:42 
GeneralRe: Laziest code you've seen this week? Pin
honey the codewitch26-Jul-19 14:45
mvahoney 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
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 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   499 votes