[Tutor] global variables

Steven D'Aprano steve at pearwood.info
Thu Aug 22 17:58:29 CEST 2013


On 22/08/13 22:36, Matthew Ngaha wrote:

> My question is how many global variables did your last decent sized
> program have? Also please share any insight you have about them. I do
> try to avoid them, but is this always possible?

Eiffel is another language that aims to eliminate global variables entirely. Here is an excellent article by the creator of Eiffel explaining why and how:

http://archive.eiffel.com/doc/manuals/technology/bmarticles/joop/globals.html



-- 
Steven


More information about the Tutor mailing list