Issue #8938 has been updated by headius (Charles Nutter).


There are two others.

The oldest is here: https://bugs.ruby-lang.org/issues/4475

The most active is here: https://bugs.ruby-lang.org/issues/4830

I believe the primary objections are that it would require "it" to be a keyword (or at least a really special word) and it may interfere with a user using "it" as a variable or method name.

I'm not a fan of magic globals, either, and even though it doesn't start with $ this feels like the same sort of thing.
----------------------------------------
Feature #8938: it keyword
https://bugs.ruby-lang.org/issues/8938#change-41941

Author: Sing9898 (Sing Lou)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


 automatic 'it' keyword for block variable:

items.each{|x| puts x.name }
=>
items.each{puts it.name}


-- 
http://bugs.ruby-lang.org/