Modules, Concatenation, and Better Solutions
dherman at mozilla.com
Wed Oct 17 14:39:20 PDT 2012
I think we all agree that concatenation is not going away. In principle, it's the concatenator's fault if they do a non-semantics-preserving transformation. In practice, if getting the semantics-preserving transformation right is too hard, people will get it wrong, and it's our fault for making it too hard. So... I agree, don't worry. I just have stuff to work through that can't be done in a rapid-fire email conversation.
On Oct 17, 2012, at 2:35 PM, John J Barton <johnjbarton at johnjbarton.com> wrote:
> Maybe this is already obvious, but if modules are tightly coupled to
> files then the concatenation really has to be a container of files (eg
> zip) and it's not part of the language. If multiple modules can be
> declared in a single file, then concatenation is part of the language
> and has to work whether its done by the developer in a file or a build
> processor or browser cache etc.
More information about the es-discuss