Kernel.y and yes,yes,yes not least surprise
Sometimes using emacs makes me think of Molly Bloom (never a good idea
at work) and then I just answer yes even before the question is asked.
Today this resulted in a confusing bug.
did not produce an error but rather caused my script to output a bunch
I propose that Kernel.y should demand at least one argument
puts( if x.empty?
YAML::dump( o )
YAML::dump_stream( o, *x )
_why what do you think?
maybe the convention that all one letter methods demand arguments might
even be considered for inclusion in the ruby style guide.
Re: Kernel.y and yes,yes,yes not least surprise
Jamie Herre (email@example.com) wrote:
> I propose that Kernel.y should demand at least one argument
Yeah, whoa, I just committed. Thanky.
|All times are GMT. The time now is 04:04 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.