From: Park Heesob Date: 2008-04-19T23:18:25+09:00 Subject: Re: thread question Hi, ----- Original Message ----- From: "Simon Krahnke" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Saturday, April 19, 2008 8:35 PM Subject: Re: thread question >* Heesob Park (2008-04-17) schrieb: > >> Here is a working code: > > Why are you using { } for multi line blocks? > Because it works. it saves typing. >> def poison >> $poisoned = Thread.new { > > Argh, global variables. > I know using global variables is undesirable. I just want to show a simple working code not a perfect code. I guess you want to adhere to the ruby code convention or style guidelines. I know an unofficial style guideline http://www.caliban.org/ruby/rubyguide.shtml#style and http://www.rubygarden.org/ruby?RubyStyleGuide is broken. Where is the official Code Conventions for the Ruby? I'll try to follow it if there is an official convention. > > mfg, simon .... l > Regards, Park Heesob