Skip to content.

Manageability

Sections
Personal tools
You are here: Home » blog » stuff » Correlation with less code?

Comment

Above in this comment thread: Meta-Programming Considered Harmful?

Correlation with less code?

Posted by Anonymous User at 2008-01-25 04:43 AM
Could perhaps, Dynamic Languages, use a lot of metaprogramming and thus create less code?

I would think that features like not requiring semicolons or not requiring type declaration would contribute only a constant reduction in code size and not one that would lead to a geometric reduction.

re:

Posted by ceperez at 2008-04-04 04:34 AM
That's a accurate observation. Less verbose syntax only reduces code by a constant amount. Metaprogramming however would have a geometric reduction in code side. However, that's not without additional complexity. The point of this article is that metaprogramming (a.k.a. monkey patching) is something you should be careful in using.
 
 

Powered by Plone

This site conforms to the following standards: