[BioRuby] [GSoC][NeXML and RDF API] Code Review.
ngoto at gen-info.osaka-u.ac.jp
Fri Jul 2 04:49:08 UTC 2010
I find good examples of alternatives for method_missing in the book
"Refactoring: Ruby Edition" section 6.18 and 6.19.
ngoto at gen-info.osaka-u.ac.jp / ng at bioruby.org
On Mon, 28 Jun 2010 19:52:37 +0530
Anurag Priyam <anurag08priyam at gmail.com> wrote:
> > Please never use method_missing. It breaks error reporting and
> > makes very hard to debug and maintain both library codes and
> > user scripts.
> Hmm, I have experienced that. But the way I have used it affects only the
> Bio::NeXML::Writer class, so is it not safe in this case? Anyways I will
> change it as it does not offer much improvement to the code readability in
> my case. I just find it exciting :).
> Anurag Priyam,
> 2nd Year Undergraduate,
> Department of Mechanical Engineering,
> IIT Kharagpur.
More information about the BioRuby