Friday, January 23, 2009

Working storage outside COBOL

As I was reviewing a Unix Korn shell script I wrote a few years ago I noticed I'd commented the variable declarations as "Working Storage." This is what that section would be called in COBOL, a language I suspect fewer and fewer people use nowadays. Odds are a younger programmer who's never worked on a mainframe would see that comment and think, "Huh?"

In the future I should probably use a more universal term, like "Variables," otherwise I'm just making myself look old and uncool. Then again, maybe not. There might be some cool points to be gained in knowing a legacy technology. After all, it's still impressive and increasingly rare to come across someone who can read a hex dump with his or her own eyes.

No comments: