Dotable - the home of "No worries" hosting!  
 
Home About Products F.A.Q Network Status Affiliates Support Contact Search Terms
Welcome to Dotable. Dotable currently hosts more than 15,000 domains for clients in all corners of the globe, so we must be doing something right! Dotable is all about people, and without people Dotable would not be where it is today. We value our clients and work hard with them and for them, so they can achieve their online goals. Our client's success is our success. Dotable's staff has more than 40 years of combined experience in hosting. Our products range from single domain hosting, through to fully managed dedicated servers. We invite you to inspect our products from the links below. We're here to serve you so sing out if you need anything. Welcome to Dotable!
Host one domain Multiple domains Reseller accounts VPS accounts Dedicated servers Register domains Backup space
Go Back   Dotable - Dot your Domains > Dotable Lounge
Reply
 
LinkBack Thread Tools Display Modes
Old 10th October 2007, 10:27 AM   #1 (permalink)
Cross Hare
 
Join Date: Jul 2006
Location: UK
Posts: 476
Default PHP comments

PHP Code:
// Temporary date stuff below
// This simply allocates 'now' to the variable $then... 
// this will show all products added after 'then' which is now.
// This isn't technically now, as it was set then.. 
// hence the name for the variable...... 
Am revising an existing site at the minute and stumbled across the above comment in some PHP - as you can tell, commenting isn't my strong suit (along with making sense!)

Anyone beat me to the title of 'worst code commenter ever'?!
waldo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10th October 2007, 04:38 PM   #2 (permalink)
Senior Member
 
Join Date: May 2005
Location: Farnham, Surrey, GB
Posts: 836
Default

The comment makes sense to me.
__________________
Joshua Powell
Josh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10th October 2007, 07:36 PM   #3 (permalink)
pro webdeveloper
 
Ergo's Avatar
 
Join Date: Jul 2006
Location: Poland
Posts: 277
Default

someone should get a kick in his balls for great programming style anyway...

PS. waldo :-) its not the comment problem, you probably did something not nice with the code , and now you have to put such comments in it :p
__________________

http://www.linkedin.com/in/marcinlulek - my linkedIn profile - please check out
Freelance professional webdeveloper for hire - XHTML, CSS2, PHP 5 , SOON PYTHON, MySQL, PostgreSQL, SQLite, Ajax & Javascript [ using yahooUI and dojotoolkit for ajax work ], database performance optimisation, security audits. - contact me , get work done the way it should be.
Ergo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10th October 2007, 07:38 PM   #4 (permalink)
Dotable Founder
 
Aussie Bob's Avatar
 
Join Date: Mar 2005
Location: Land down under
Posts: 4,068
Default

Quote:
Originally Posted by Ergo View Post
someone should get a kick in his balls for great programming style anyway...
Aren't you supposed to be gettin' married?
__________________
Please review Dotable at the following review sites -

HostJury.com | WebHostingStuff.com
Aussie Bob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10th October 2007, 07:51 PM   #5 (permalink)
pro webdeveloper
 
Ergo's Avatar
 
Join Date: Jul 2006
Location: Poland
Posts: 277
Default

i was , and im after the party resting :] ill post pictures in a minute
__________________

http://www.linkedin.com/in/marcinlulek - my linkedIn profile - please check out
Freelance professional webdeveloper for hire - XHTML, CSS2, PHP 5 , SOON PYTHON, MySQL, PostgreSQL, SQLite, Ajax & Javascript [ using yahooUI and dojotoolkit for ajax work ], database performance optimisation, security audits. - contact me , get work done the way it should be.
Ergo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10th October 2007, 09:57 PM   #6 (permalink)
Cross Hare
 
Join Date: Jul 2006
Location: UK
Posts: 476
Default

Quote:
Originally Posted by Ergo View Post
PS. waldo :-) its not the comment problem, you probably did something not nice with the code , and now you have to put such comments in it :p
I never do nice things with code!
waldo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go Back   Dotable - Dot your Domains > Dotable Lounge


All times are GMT +10. The time now is 04:12 PM.


Home About Products F.A.Q Network Status Affiliates Support Contact Search Terms

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0