From: Rick DeNatale Date: 2009-11-03T23:43:18+09:00 Subject: Re: Merging hashes using both symbols and strings as keys On Tue, Nov 3, 2009 at 9:31 AM, David A. Black wrote: > Hi -- > > On Tue, 3 Nov 2009, Rick DeNatale wrote: > >>  params[:id] >> vs >>  params['id'] >> >> and some think the former looks a little bit nicer.  Although this is >> no doubt a potential source of controversy.  I for one have a slight >> preference for the :id form, but that might be the result of Stockholm >> syndrome having worked on so many Rails apps. > > When it involves Rails, we call it "Copenhagen Syndrome" :-) I dunno, there IS a bit of Chicago mixed in. I have to repeat the story I told at the end of my RubyConf presentation last year, about the classification of OO languages by geographic origin: Smalltalk (which came from Xerox Parc in California) is the surfer's language, Smalltalk programmers wear baggy swimsuits, and hang loose. ObjectiveC (which came from an ITT lab in Connecticut) was a "New England Yankee" language, it did just what it had to do and nothing more. (Not sure this is still true) Eiffel (the brainchild of Bertrand Meyer) was/is "quintessentially French") and C++ (from Bjarne Stroustrup, a compatriot of DHH, and who at the time was at Bell/ATT labs) is like Haagen Dazs Ice Cream, you think it's from Scandanavia, but it's really an industrial product from New Jersey! -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale