A number of the members of the audience were more informed on the subject than I was (excellent!).
There was a vigorous discussion on the slide which talked about for...in not exactly paralleling .each in semantics, initially the audience was overwhelmingly in favor of providing feedback that they should be the same, but after some discussion the consensus was not clear.
Sam, I really enjoyed your presentation. You did a great job, despite the bicycle shedding coming from the audience ;).
To clarify the .each vs. for loop question, the probable reason they’re different is that the latter is not actually a block variable. So ostensibly, they can have different semantics. Whether they should have different syntax is a question of Matz’s Principle of Least Surprise. ;)
exactly adam.. “not actually a block variable”.. maybe its not a block, but a Proc. or maybe a method? or maybe one of the synonyms like lambda or the new arrow thingy.. not to be confused with Arrows from math or the odd Haskell library
maybe a bucket of redundant options in syntax or functionality with slightly differing semantics is your cup of tea. maybe you found implementing a Lua VM too easy, and even a scheme evaluator only took you an afternoon? Ruby is your dream
“Every language grows in more recent version, as Ruby does, and PL/I
did, until it grows too much to collapse into a black hole by its own
gravity. It’s kind a like destiny. Otherwise the language will die.” - Matz
제가 정리한 것은 아니구요.. O’Reilly OSCON2008 에서 IBM 의 Sam Ruby 씨가 발표하신 것입니다. 뭐 구글링 조금만 해보시면 많은 자료를 찾으실 수 있지만, 그래도 기왕이면 정리 잘된것 보시는게 좋고, 제가 토론토에서 잠깐있는 동안 슬쩍 끼었던 토론토 루비 사용자 모임(TRUG) 메일링 리스트에 올라온 내용이기도 해서 포스팅 합니다. 아래 링크를 따라가셔용~~ (슬라이드 링크 누르시면 됩니다)...
Ruby 1.9, Shmuby 1.sh9 : There’s a lot of buzz about Ruby 1.9, at least if you’re looking in the right places. Sam Ruby gave a presentation about what to expect at OSCON, and I just found the slides today. They have me…...
There’s a lot of buzz about Ruby 1.9, at least if you’re looking in the right places. Sam Ruby gave a presentation about what to expect at OSCON, and I just found the slides today. They have me seeing red. Before anyone gets the wrong idea, that’s...
My proposal has been accepted for RubyConf 2008. Because of the presence of Ruby implementers, this is going to be a bit challenging as it will likely turn into two talks at once. One sharing experiences with fellow developers c...