From: h.fulton@... Date: 2000-05-23T15:14:25+00:00 Subject: [ruby-talk:02948] Things I am wondering... Just some more random questions. These are some things I have been wondering about, and I thought I might ask them all at once. :) 1. Why is Dir::foreach not named Dir::each? 2. Why are these control structures and not methods? && || ! and or not 3. Why are TrueClass and FalseClass separate classes? In a way, I see the logic of it. But my instinct would have been a single class called Boolean. 4. Why was the keyword "yield" chosen? Is this a legacy from another language? It is not intuitive to me. 5. Like many other languages, Ruby does short-circuiting of Boolean expressions. Other than efficiency, what is the rationale for this? Was the other way (full evaluation) ever considered? Thanks for enlightening me... Hal