Delphi-PRAXiS
Seite 22 von 53   « Erste     12202122 232432     Letzte »    

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Klatsch und Tratsch (https://www.delphipraxis.net/34-klatsch-und-tratsch/)
-   -   Eure besten Quellcode Kommentare... (https://www.delphipraxis.net/96226-eure-besten-quellcode-kommentare.html)

igel457 11. Jul 2010 18:39

AW: Eure besten Quellcode Kommentare...
 
Folgendes habe ich letztens bei mir im Quellcode gefunden:
Delphi-Quellcode:
{The buffer size in bytes.}
property BufSize: integer read FBufSize write FBufSize; //!TODO: What the heck is this?? And why is it writeable? Which buffer???

Luckie 16. Sep 2010 19:39

AW: Eure besten Quellcode Kommentare...
 
Im Internet gefunden:
Delphi-Quellcode:
// 
// Dear maintainer:
// 
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
// 
// total_hours_wasted_here = 17
//

mleyen 16. Sep 2010 21:13

AW: Eure besten Quellcode Kommentare...
 
Noch eine Berühmtheit:
Delphi-Quellcode:
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
Private Projekte:
Delphi-Quellcode:
// Finger wech, sonst Fingerweh
Delphi-Quellcode:
// wer das lied mit dem bridge/riff errät, weiß wers verbockt hat:
// br Nanana, br Nanana [br]na[/br], Nananaa - br Nanana, br Nanana [br]na[/br], Nananaa ...
Sonstiges:
Delphi-Quellcode:
//if you steal this code, your tiny
//private parts will itch forever...

Luckie 16. Sep 2010 21:20

AW: Eure besten Quellcode Kommentare...
 
Der erste ist gut. :mrgreen:

Die Muhkuh 16. Sep 2010 22:34

AW: Eure besten Quellcode Kommentare...
 
Zitat:

Zitat von Luckie (Beitrag 1050170)
Im Internet gefunden:
Delphi-Quellcode:
// 
// Dear maintainer:
// 
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
// 
// total_hours_wasted_here = 17
//

Der ist top :lol:

r2c2 20. Sep 2010 21:47

AW: Eure besten Quellcode Kommentare...
 
Zitat:

Zitat von Luckie (Beitrag 1050170)
Im Internet gefunden:
Delphi-Quellcode:
// 
// Dear maintainer:
// 
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
// 
// total_hours_wasted_here = 17
//

Der zugehörige Code würd mich mal interessieren...

mfg

Christian

himitsu 21. Sep 2010 08:16

AW: Eure besten Quellcode Kommentare...
 
Wo "Luckie's" Kommentar her ist, weiß ich auch nicht, aber er ist schon etwas Outdated > 25+ hours :lol: :

http://stackoverflow.com/questions/1...er-encountered

Zitat:

Code:
#define TRUE FALSE //Happy debugging suckers


HeikoAdams 21. Sep 2010 09:57

AW: Eure besten Quellcode Kommentare...
 
Zitat:

Zitat von himitsu (Beitrag 1050887)
http://stackoverflow.com/questions/1...er-encountered

Zitat:

Code:
#define TRUE FALSE //Happy debugging suckers


Das ist ja mal richtig fies :twisted: aber originell :-D

franktron 21. Sep 2010 10:36

AW: Eure besten Quellcode Kommentare...
 
Zitat:

Zitat von himitsu (Beitrag 1050887)
Wo "Luckie's" Kommentar her ist, weiß ich auch nicht, aber er ist schon etwas Outdated > 25+ hours :lol: :

http://stackoverflow.com/questions/1...er-encountered

Zitat:

Code:
#define TRUE FALSE //Happy debugging suckers


Die Frage die sich da stehlt ist warum das überhaupt geht.

DeddyH 21. Sep 2010 10:40

AW: Eure besten Quellcode Kommentare...
 
Wieso sollte das nicht gehen, da wird ja einfach nur eine Konstante überschrieben.
Delphi-Quellcode:
const true = false;

procedure TFormTest.ButtonSurpriseClick(Sender: TObject);
begin
  ButtonSurprise.Enabled := true;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:52 Uhr.
Seite 22 von 53   « Erste     12202122 232432     Letzte »    

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz