[BioRuby] [GSoC][NeXML and RDF API] Code Review.

Naohisa GOTO ngoto at gen-info.osaka-u.ac.jp
Mon Jun 28 12:00:05 UTC 2010


Hi,

Please never use method_missing. It breaks error reporting and
makes very hard to debug and maintain both library codes and
user scripts.

Naohisa Goto
ngoto at gen-info.osaka-u.ac.jp / ng at bioruby.org

On Mon, 28 Jun 2010 15:26:52 +0530
Anurag Priyam <anurag08priyam at gmail.com> wrote:

> >   ..... Also, when parsing this type of XML some Ruby reflection
> > may come in handy - I did some of that in my BioRuby GEO parser, which
> > lives in my GEO branch on github.
> 
> 
> I picked up the method_missing trick for the serializer.
> 
> http://github.com/yeban/bioruby/blob/writer/lib/bio/db/nexml/writer.rb
> 
> 
> >  You should look at each class and
> > see if you can refactor it down to a single solution. Just make sure
> > it is not at the expense of readability and understanding.
> >
> > Post us some ideas here, before you start hacking code.
> >
> > Pj.
> >
> >
> I will.
> 
> -- 
> Anurag Priyam,
> 2nd Year Undergraduate,
> Department of Mechanical Engineering,
> IIT Kharagpur.
> +91-9775550642
> _______________________________________________
> BioRuby Project - http://www.bioruby.org/
> BioRuby mailing list
> BioRuby at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioruby



More information about the BioRuby mailing list