by aboodman · 12y ago · 0 comments
You should not be worrying about object size. Write libraries in a way that makes sense for your problem, then use Closure compiler to strip the unused code from each application.
That feature is critical for building general purpose libraries because it allows you to organize on conceptual boundaries without worrying so much about code size.