tag:blogger.com,1999:blog-4477131926658044957.post4057882804631706320..comments2023-05-28T03:47:58.240-07:00Comments on pydanny: Ruby Security Problemspydannyhttp://www.blogger.com/profile/00481523876497446983noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4477131926658044957.post-45373765910178137212008-06-23T12:38:00.000-07:002008-06-23T12:38:00.000-07:00@michael: Clog away. It's on google's dime.Python...@michael: Clog away. It's on google's dime.<BR/><BR/>Python namespaces are nice. I think after reading your post I wonder how spoiled I am by what you can do via namespaces in Python and how I would react to the Ruby way.<BR/><BR/>I'm not sure about the block issue. I've heard other Ruby folks talk about it, but I just don't grok it yet.<BR/><BR/>The Ruby syntax does turn me off. I did Perl for 6 months in 1999 and loved regular expressions and hated the rest.<BR/><BR/>As for Zed, I met this great, pleasant guy at Pycon and talked to him for 30 minutes before we traded names. Then I realized who I was talking to, and found it all just pretty funny. Normally I don't like obscenity but after meeting him I'll give him a pass.pydannyhttps://www.blogger.com/profile/00481523876497446983noreply@blogger.comtag:blogger.com,1999:blog-4477131926658044957.post-64495827178934914602008-06-23T12:12:00.000-07:002008-06-23T12:12:00.000-07:00@danny: sorry to clog up the comment area but I do...@danny: sorry to clog up the comment area but I don't want to actually put this on my blog but I do like the way that Ruby handles blocks. In Ruby, blocks are simply anonymous functions. Methods can accept blocks by default. It all gets pretty cool without being overly complicated.<BR/><BR/>On the downside, I don't like Ruby's syntax. It reminds me of the bad old days of Perl with sigils everywhere. Python is 100% cleaner to read and write.Michaelhttps://www.blogger.com/profile/01020829360408821410noreply@blogger.comtag:blogger.com,1999:blog-4477131926658044957.post-60590163794056297702008-06-23T11:59:00.000-07:002008-06-23T11:59:00.000-07:00@danny: Here's an old piece I wrote about how Ruby...@danny: Here's an old piece I wrote about how Ruby imports versus how Python imports:<BR/>http://backyardbamboo.blogspot.com/2007/12/rubys-require-is-lacking.html<BR/><BR/>The bottom line is that Ruby doesn't handle its namespaces nearly as elegantly as Python does, IMHO.<BR/><BR/>Also, I'm glad to hear that Zed represents better in real life because his online persona is out of control! :-oMichaelhttps://www.blogger.com/profile/01020829360408821410noreply@blogger.comtag:blogger.com,1999:blog-4477131926658044957.post-39287282359278712392008-06-23T09:36:00.000-07:002008-06-23T09:36:00.000-07:00@michael: Could you post on your blog what you lik...@michael: Could you post on your blog what you like and don't like about Ruby?<BR/><BR/>As for Zed Shaw, I have found in person that he doesn't get so obscene. I agree that he loses readers with how he writes.pydannyhttps://www.blogger.com/profile/00481523876497446983noreply@blogger.comtag:blogger.com,1999:blog-4477131926658044957.post-62737423350045971992008-06-23T09:25:00.000-07:002008-06-23T09:25:00.000-07:00BTW, I can barely read any of Zed Shaw's writings ...BTW, I can barely read any of Zed Shaw's writings because of his (over)use of profanity. I just start reading it and ask myself, why does he need to be swearing here...and here...and here...and everywhere. All that profanity is distracting and childish.Michaelhttps://www.blogger.com/profile/01020829360408821410noreply@blogger.comtag:blogger.com,1999:blog-4477131926658044957.post-6699328553921133952008-06-23T09:22:00.000-07:002008-06-23T09:22:00.000-07:00I have taken a year-long detour into Ruby because ...I have taken a year-long detour into Ruby because of a company-wide decision to use Ruby-on-Rails after using Python for 2 years previously. Some of Ruby is good most of it doesn't impress me. I have continued my core work in Python and am getting excited for 2.6 and some of the changes. For example, I just found out about the multiprocessing support today in http://jessenoller.com/2008/06/19/python-26-and-30-beta-1-released/.<BR/><BR/>Replacing threading with multiprocessing could be a big win for some of my apps.Michaelhttps://www.blogger.com/profile/01020829360408821410noreply@blogger.com