ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge
View Poll Results: Do You Document...?
Most of the Time 3 25.00%
um, sometimes 9 75.00%
Documentation....????? 0 0%
Voters: 12. You may not vote on this poll


Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 25th, 2006, 04:49 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,223 RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 3 h 46 m 30 sec
Reputation Power: 326
Send a message via MSN to RadioactiveFrog
Facebook
Do You Document?

ok, on monday i started working for a company and one of my jobs is to look at their existing database (written in filemaker 5.5) and learn how it works enough to modify it and fix bits that don't work.

The probelm...the people that wrote it didn't DOCUMENT IT !!! aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh

so it is driving me insane !!

So..do you document your code?

Reply With Quote
  #2  
Old January 25th, 2006, 04:59 PM
pws1970 pws1970 is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Aug 2005
Posts: 3,250 pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 20017 Folding Title: Starter FolderFolding Points: 20017 Folding Title: Starter Folder
Time spent in forums: 4 Weeks 1 Day 4 h 5 m 50 sec
Reputation Power: 363
I once read a programmers comment, he/she said in their code:
'Real programmers dont comment, if it was hard to write then it should be hard to understand!'

You gotta love it! Personally I do comment, although when I go back and look at old code it still takes some time to figure it out never mind the endless lines of comment that go with it.

Reply With Quote
  #3  
Old January 25th, 2006, 05:02 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,223 RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 3 h 46 m 30 sec
Reputation Power: 326
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by pws1970
I once read a programmers comment, he/she said in their code:
'Real programmers dont comment, if it was hard to write then it should be hard to understand!'

You gotta love it! Personally I do comment, although when I go back and look at old code it still takes some time to figure it out never mind the endless lines of comment that go with it.
hehe, yeah i have heard that before! If i meat the guy i will tell him it is funny and the kill him !!!!!!! {just kidding...}

Reply With Quote
  #4  
Old January 25th, 2006, 05:05 PM
pws1970 pws1970 is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Aug 2005
Posts: 3,250 pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 20017 Folding Title: Starter FolderFolding Points: 20017 Folding Title: Starter Folder
Time spent in forums: 4 Weeks 1 Day 4 h 5 m 50 sec
Reputation Power: 363
Quote:
Originally Posted by RadioactiveFrog
hehe, yeah i have heard that before! If i meat the guy i will tell him it is funny and the kill him !!!!!!! {just kidding...}


LOL, poor you RF, not a job I envy, cleaning up someone else's mess.

Reply With Quote
  #5  
Old January 25th, 2006, 05:09 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,223 RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 3 h 46 m 30 sec
Reputation Power: 326
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by pws1970
LOL, poor you RF, not a job I envy, cleaning up someone else's mess.
tell me about it!! We don't even have the developer edition of the software for me to use to step through the code !!!

Reply With Quote
  #6  
Old January 25th, 2006, 05:39 PM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1770346 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 4 h 22 m 27 sec
Reputation Power: 301
Quote:
Originally Posted by RadioactiveFrog
tell me about it!! We don't even have the developer edition of the software for me to use to step through the code !!!


Ouch!! That could be fun... or not.

Most of the systems I work on haven't been documented. And like
everyone who has worked on them in the past, I don't get the time
to document them
__________________
And he picked it all up... in his pick-up.





Friends of Shemzilla

Reply With Quote
  #7  
Old January 25th, 2006, 05:43 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,223 RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)RadioactiveFrog User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1Folding Points: 160711 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 3 h 46 m 30 sec
Reputation Power: 326
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by elijathegold
Ouch!! That could be fun... or not.

Most of the systems I work on haven't been documented. And like
everyone who has worked on them in the past, I don't get the time
to document them
this system to me just seems a mess. But maybe that also has something to do with not knowing the software and not liking it either !!!

Reply With Quote
  #8  
Old January 25th, 2006, 06:17 PM
trubolotta trubolotta is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Wheeling, IL
Posts: 171 trubolotta User rank is Private First Class (20 - 50 Reputation Level)trubolotta User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 Days 11 h 45 m 27 sec
Reputation Power: 4
Quote:
Originally Posted by elijathegold
Ouch!! That could be fun... or not.

Most of the systems I work on haven't been documented. And like
everyone who has worked on them in the past, I don't get the time
to document them


I have never had a project approved when I have included the cost of documentation, and I don't just mean putting comments in code. What money gets saved by omitting documentation gets eaten up later when we have to modify complicated workflows, restructure a database or recouple related functions. I have to chuckle because I know what you're talking about and the pennies people save now cost them mucho dollars later, but they never ever see it that way.

Reply With Quote
  #9  
Old January 25th, 2006, 08:04 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,932 Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1Folding Points: 391471 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 12 h 17 m 53 sec
Reputation Power: 2002
honestly, comments usually won't really help. it's not like you'll read the comments and
all of a sudden understand what you need to do - after all that's "foreign logic" in there.
so I don't comment very much, and even if I did it wouldn't help much to those who'll
need to modify or understand my code.
I'm not saying it's good, it's much better to put comments but usually it's just not
realistic.

Reply With Quote
  #10  
Old January 25th, 2006, 10:40 PM
lewy's Avatar
lewy lewy is offline
Alter Ego Wizard
ASP Free Specialist (4000 - 4499 posts)
 
Join Date: Jun 2004
Location: Edinburg Tx
Posts: 4,385 lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)lewy User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 1009 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 2 Days 28 m 31 sec
Reputation Power: 1561
True but commenting on functions especially is very helpful for legacy systems.
Function inputs and return types and a little summary of what they do is about the only thing I comment.
It's like shadow mentioned, sometimes it won't help any one who may not be in the same page as you are.
__________________
................... ASCII and ye shall receive ..................
Knowledge is the only resource on earth that multiplies when shared


Support the Shemzilla Project
Powered by C#

Reply With Quote
  #11  
Old January 26th, 2006, 12:06 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 57 m 26 sec
Reputation Power: 181
Yes.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain