Whew, I'm SO glad that's over. The 16000 line program no longer has any globals (at least no non-constant globals). Now I can move functions into different files and as long as I export the right functions everywhere, it should all just work.
Well, I did all that while being sick, and it didn't really contribute to my recovery, so I'm going to take it easy for a little while now.
Antiperl (Score:2)
I was just thinking about that particular antipattern today. I'm dealing with code like this:
Now, obviously that's bad style, but why is it bad style? Then it struck me that it's a perversion of an old FORTRAN/C meme about peppering constant values around as bad style. Sure, it helps to put PI into a [constant] variable so that you locali
Sounds like a little project I once worked on ... (Score:1)