From: "gsamokovarov (Genadi Samokovarov)" Date: 2013-11-13T23:36:20+09:00 Subject: [ruby-core:58312] [ruby-trunk - Feature #9107][Open] Introduce YES and NO as aliases of true and false Issue #9107 has been reported by gsamokovarov (Genadi Samokovarov). ---------------------------------------- Feature #9107: Introduce YES and NO as aliases of true and false https://bugs.ruby-lang.org/issues/9107 Author: gsamokovarov (Genadi Samokovarov) Status: Open Priority: Low Assignee: Category: Target version: I have a patch introducing the constants YES/NO as aliases of true/false. You can check it out here: https://github.com/gsamokovarov/ruby/compare/trunk...yes-no While I don't expect this to be accepted, I think it can start a discussion around supporting it. There is a movement in recent languages to let YES/NO express TRUE/FALSE. Objective C, CoffeeScript and markup languages like YAML are some examples of that. I thing it works really well for ruby scripts, used as configuration files. The rails config/* files seem like great candidates for YES/NO usage. Implementation wise, I choose to go with TRUE/FALSE like constants, rather than extra yes/no keywords as it seemed to me like the most unobtrusive way to introduce those. Please, excuse me if this has been discussed before. -- http://bugs.ruby-lang.org/