News for hackers. Stuff that matters.
Re:All my methods take 316 arguments, and I like it that way by Jach on Wednesday December 30, 2009 @12:16PM (#1022726)
I see the main point, and I try not to use globals when I can, but I can't help but recall a quote I read from somewhere: "People who are afraid of globals are usually afraid of girls, spiders, etc."
Re:All my methods take 316 arguments, and I like it that way by KirinDave on Wednesday December 30, 2009 @05:49PM (#1023407)
I wouldn't trust the person who told you that, anymore.

Pretty much the last decade of software engineering has been a slow realization how how untenable the use of large amounts of global state is.

Re:All my methods take 316 arguments, and I like it that way by Jach on Wednesday December 30, 2009 @05:57PM (#1023422)
You're right, of course, but sometimes globals can be the magic sauce you need to hack out something quickly. (I find global hate to be similar to 'goto' hate.)
Re:All my methods take 316 arguments, and I like it that way by cemerick on Thursday December 31, 2009 @06:45AM (#1024157)
Ah, the "I'm a big man, I code by writing bits to the platters with a magnet" argument. (Quick, prize to the first xkcd link here!)
Re:All my methods take 316 arguments, and I like it that way by Jach on Thursday December 31, 2009 @08:33PM (#1025326)
I found it an amusing quote, and I'm a strong believer in using the right tool for the right task. :)
Re:All my methods take 316 arguments, and I like it that way by francoisdevlin on Thursday December 31, 2009 @06:29PM (#1025184)