The Channel logo

Comments in code??

Surely you jest...

The current project I'm working on dates back to the 60's (so I'm told, and I believe it!). It is a giant group of Fortran programs (remember those) that have been pieced together step by step to produce an income generating system (yes, money is made on it!). Now nice people like me are brought in to add features to it, or otherwise alter the code, and while I pride myself in being a reasonably competent programmer, I wonder how this code ever got off the ground. Comments are few and far between, and most of the code (including some recent additions in C) look like they have been written by a Basic (the language) programmer (who learned on a C=64). In any event I persist as I know I will have "full employment" for quite a while.

The only saving grace is that there is some sort of version control, and we can always point a finger at the person who "broke it".

Life goes on.

Advice to budding programmers: Comment for yourself, in 6 months you won't have a clue what you were doing, and the comments will be your OWN salvation!

Forums

Forgotten password

Opinion

euros_channel_money

Tim Worstall

Time to take a sniff at the coffee, perhaps
joe_tucci_emc_channel

Chris Mellor

Will they have to drag him back like last time?
chain_relationship_channel

Features

cloud_accounting
Playing the SLA long game
channel_teaser_money_top
cloud computing Fight
Applications must work for the cloud to float
Paul Cormier, Red Hat
How a Unix killer crawled from the dot-com bust