[Ruby2c] 2 new blog entries (and 2 questions at the end)

Ryan Davis ryand-ruby at zenspider.com
Sun Feb 6 23:44:32 PST 2005


Covering a proof of concept building upon ParseTree that outputs a 
method's ruby code[1] and using that proof of concept to extend Refax 
to output suggested refactorings in pure ruby [2]. Example:

Suggest refactoring HastilyWritten#weirdfunc from:

def weirdfunc()
puts("This is a weird loop")
doSomethingWeird()
begin
puts("This is a weird loop")
doSomethingWeird()
end while keepgoing
end

to:

def weirdfunc()
begin
puts("This is a weird loop")
doSomethingWeird()
end while keepgoing
end

1] http://blog.zenspider.com/archives/2005/02/rubytoruby.html
2] http://blog.zenspider.com/archives/2005/02/refax_the_autom.html

META:

1) should I post this type of mail to ruby2c@?
2) should I post the actual entries to ruby-talk@?

--
ryand-ruby at zenspider.com - http://blog.zenspider.com/
http://www.zenspider.com/seattle.rb



More information about the ruby2c mailing list