On 1/31/11, RobG <rg...@iinet.net.au> wrote: > > > On Feb 1, 3:32 am, Anton Podviaznikov <podviazni...@gmail.com> wrote:
[....]\ > >> 2. I extended native FIle and FileError objects. Is it normal? Is it >> good style? How you will do this? > Extending a host object is a bad idea. > It is generally not a good idea to extend built-in objects. Is there a > significant advantage to doing it? If not, don't. > And even worse to extend or modify a host object, wichi is apparently what the OP is doing (and I have n[t read that code; looking at gyms overseas ATM). -- Garrett -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com