Mike, Are you putting us on? - Nick - Mike M wrote: > > welp guess i got a photographic memory. Ive been programming since i was 12, like i said IF YOU ARE WORKING THEN ITS A DIFFERENT STORY..everyone is one my ca se because they assume i do not comment when i am at work. Work you are develop ing usually with more then a few people, obviosuly the entire project would take tripple (maybe more) then time to do if each person had to "untangle" the code from the person before him. However, IF YOU ARE CODING FOR YOURSELF THEN IT REA LLY DOESNT MATTER, A YEAR FROM NOW WHEN U HAVE NO IDEA WHAT THE CODE MEANS THEN ITS YOUR PROBLEM AM I RIGHT? > > For big projects, working with other, or when there will be more then one or 2 pages of code i put comments, other then that i can look at a page of code, (es pecially VB code) and know what it does in less then a couple of minutes, maybe its just me. > > In my teams current project we are building a stamp clone for personal use, al ong with our own PBASIC type programming lanugage and compiler/interpretur (? i can never spell that word right,o well its the internet). So far for the compil er alone there is 20 pages of code, and YES THERE IS COMMENTS, im sorry that i j ust jot these letters out real fast while at work, and now that i read my old me ssages and new replies i have even confused myself. > > Mike > > On Fri, 19 Nov 1999 15:07:29 +1300 Russell McMahon wrot e: > >From: Mike M > > > >>Actually i have to agree with Walter...Like i said, if your working with > >people of course i dont see how you can go without the comments, however > >writing code on your own or working on a project alone where no one else > >needs see or know how it works AS LONG AS IT WORKS..thats the point isnt it > >working code : ) > > > > > >Yes, as long as it works IS the measure. > >What "works" means is the skill. > > > >"Works" here may imply > > > >- OK it runs now, don't know what I did to make it work but it's OK now so I > >won't touch it again. > >- OK, I remember what that did when I wrote it 1 minute / 1 hour / day / 1 > >week / 1 month / 1 .... ago so I can change this here and know just what the > >result will be. > >- I'm happy to decode the whole thread of this code if I ever have to look > >at it again so that's OK. > >- I'm a genius with a photographic memory so there's never a problem. > > > >For most people none of these apply. > >#4 is obviously vanishingly rare. > >#3 is acceptable to about 0% of bosses who have to pay for your resource. > >#2 is about 1 hour to 1 week for me :-), about 1 minute for some and > >probably not more than 1 month for almost anyone expect the guy (or gal) in > >#4. > > > >Unless you write code once and for ever its unlikely that you can survive on > >zero comments (if then). > > > >RM > > > > Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. > GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=fc-41