Benutzername    Passwort    Autologin    
  Passwort vergessen       Registrieren  
beeForum Foren-übersicht » hal9000
Neues Thema eröffnen   Neue Antwort erstellen Hervorhebung entfernen


Life cycle of a PHP class
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
jrose



Beiträge: 2733

Titel: Life cycle of a PHP class
Verfasst am: Mi, 02 März 2011, 17:53
Beitrag
Antworten mit Zitat

Life cycle of a PHP class

Day 1: Oh man, this is going to be the best PHP code I have EVER written. I shall use proper method names, proper getters and setters and oh, I'll probably win an award for it's beauty or perhaps even have a statue erected. Songs will be written, epic stories shall be told.

Day 7: Well, I had to make a few concessions to get it finished but I'm pretty happy with it. Shame about the static methods chucked in but a war wasn't won in a single battle.

Day 26: Man, these bug fixes suck. I should really create a controller class to route some of this data but I'll just chuck in another method and wing it. Deadline is approaching.

Day 96: Well, we missed the deadline. Just a few more fixes to go. I know I shouldn't really define these constants in the constructor but I have a meeting with my hairdresser in 45 minutes. I'm thinking wavy perm! Also, I'm super hungry and I have those new classes to finish by tonight.

Day 215: Whoever wrote this class is a dick and I hate him. Ugh.

Day 334: What the hell does this method do? It makes no sense at all. Nice job on the inline docs. I guess making funnies in the comments was more important.

Day 420: Gonna mark this for a refactor. Really is a terrible jumble of crap. Written by an idiot child who fell out of the stupid tree and hit every branch on the way down. $Author: {Your Name}$ - lets just remove that.

Day 530: @deprecated

Day 664: Error: File is no longer under version control.


____________
... wir haben mal wieder alles richtig gemacht.

Nach oben
Private Nachricht senden Rang:wired methusalem Angler
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    beeForum Foren-übersicht » hal9000 Seite 1 von 1
Gehe zu:  



ähnliche Beiträge
Thema Autor Forum Antworten Verfasst am
Keine neuen Beiträge Film: Life of Pi: Schiffbruch mit Tiger boris zelluloid 0 Sa, 27 Dez 2014, 17:25 Letzten Beitrag anzeigen
Keine neuen Beiträge Still Life: Bent Objects jrose silikonimplantate 0 Mo, 16 Jan 2012, 20:57 Letzten Beitrag anzeigen
Keine neuen Beiträge What we should have learned from life... UncleR internet junk 0 Fr, 02 Dez 2011, 17:55 Letzten Beitrag anzeigen
Keine neuen Beiträge Life in a day jrose zelluloid 0 Fr, 28 Jan 2011, 12:21 Letzten Beitrag anzeigen
Keine neuen Beiträge My new life marwnos brasilientrolle 3 So, 06 Apr 2008, 02:45 Letzten Beitrag anzeigen


Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
phpBB © phpBB Group | impressum