Click here to Skip to main content
15,887,135 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: Coding Pet Peeves Pin
jschell31-May-23 5:17
jschell31-May-23 5:17 
GeneralRe: Coding Pet Peeves Pin
obermd31-May-23 3:48
obermd31-May-23 3:48 
GeneralRe: Coding Pet Peeves Pin
BernardIE531731-May-23 4:20
BernardIE531731-May-23 4:20 
GeneralRe: Coding Pet Peeves Pin
jschell31-May-23 5:02
jschell31-May-23 5:02 
GeneralRe: Coding Pet Peeves Pin
Leonardo Pessoa1-Jun-23 5:06
Leonardo Pessoa1-Jun-23 5:06 
GeneralRe: Coding Pet Peeves Pin
jschell1-Jun-23 6:14
jschell1-Jun-23 6:14 
GeneralRe: Coding Pet Peeves Pin
Juan Pablo Reyes Altamirano31-May-23 5:28
Juan Pablo Reyes Altamirano31-May-23 5:28 
GeneralRe: Coding Pet Peeves Pin
Leonardo Pessoa1-Jun-23 5:01
Leonardo Pessoa1-Jun-23 5:01 
I shall disagree on #3 because I prefer exactly the opposite. Apart from that, pretty much only poorly written code annoys me. I clearly remember the time I've been maintaining someone else's code just to read the following statement (methods and variable names have been changed to preserve the code, although kept the language):

Delphi
class TReport1 : TReport
private
   shouldPrint: boolean;
   // ...
end;

// ...

procedure TReport1.Label1Print(var print: boolean);
begin
  if shouldPrint = true then
     print = true;
  else
     print = false;
end;


I swear that it was exactly like this. All over the code, repeated a thousand time for each element on the report (yes, the person didn't even reuse the same method). And there was nothing else, nothing to control or change the value of shouldPrint. I was tempted to rewrite it all but time and the rule of not messing with what is working prevented me. I still have nightmares with this code...
- Leonardo

GeneralState AI Pin
Gerry Schmitz30-May-23 7:01
mveGerry Schmitz30-May-23 7:01 
GeneralCCC 30-05-2023 Pin
pkfox29-May-23 21:27
professionalpkfox29-May-23 21:27 
GeneralRe: CCC 30-05-2023 Pin
OriginalGriff29-May-23 21:38
mveOriginalGriff29-May-23 21:38 
GeneralRe: CCC 30-05-2023 - winner Pin
pkfox29-May-23 22:14
professionalpkfox29-May-23 22:14 
GeneralRe: CCC 30-05-2023 Pin
englebart1-Jun-23 3:35
professionalenglebart1-Jun-23 3:35 
GeneralRe: CCC 30-05-2023 Pin
OriginalGriff1-Jun-23 3:51
mveOriginalGriff1-Jun-23 3:51 
GeneralRe: CCC 30-05-2023 Pin
englebart1-Jun-23 8:55
professionalenglebart1-Jun-23 8:55 
GeneralRe: CCC 30-05-2023 Pin
OriginalGriff1-Jun-23 9:33
mveOriginalGriff1-Jun-23 9:33 
Generalworld494 2/6 Pin
jmaida29-May-23 19:37
jmaida29-May-23 19:37 
GeneralPC Upgrade (Fool about to rush in) Pin
ormonds29-May-23 18:49
ormonds29-May-23 18:49 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
RickZeeland29-May-23 19:12
mveRickZeeland29-May-23 19:12 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
OriginalGriff29-May-23 19:12
mveOriginalGriff29-May-23 19:12 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
ormonds29-May-23 19:51
ormonds29-May-23 19:51 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
OriginalGriff29-May-23 19:58
mveOriginalGriff29-May-23 19:58 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
Richard MacCutchan30-May-23 1:03
mveRichard MacCutchan30-May-23 1:03 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
OriginalGriff30-May-23 1:15
mveOriginalGriff30-May-23 1:15 
GeneralRe: PC Upgrade (Fool about to rush in) Pin
Daniel Pfeffer29-May-23 20:03
professionalDaniel Pfeffer29-May-23 20: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.