Progress Quiz 12

TomBascom

Curmudgeon
My answer: DON'T!

STOP USING INCLUDE FILES.

If you're stuck with legacy code at least stop making it worse by creating new ones. And start slowly eliminating the ones that you are stuck with.
 

TomBascom

Curmudgeon
I suppose so. You could also exploit side effects since the include file has access to all of the context of the code containing it.

I dislike referring to include file arguments as "passing" parameters. To me "passing" implies more sophistication than you actually get with include files.

I also have an attitude problem when taking quizzes like this ;)
 
I don't disagree at all. I just came across this series of questions, so was trying to answer each of them. But these questions are 9 years old anyway!
 
Top