Re: Quick note about future number handling

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
(Use some mailing-list friendly mail agent or setting...)

Monday, March 22, 2010, 3:50:17 PM, Brian Pontarelli wrote:

Regarding default_audience...
[...]
> I also wouldn't use that features as it would be more "magic" to explain to my users.

Yeah, these are just horrible things. But that's what backward
compatibility and all the historical baggage does...

>> If this is about writable maps, then I belive that's
>> backward-compatible.
>
> Definitely. And using key types besides Strings without using
> (key).

Yeah, of course... that's actually far more important. So again, I
believe that introducing a such TemplateModel and the related wrapper
is BC, however, you couldn't actually use them until you switch to a
non-default wrapper. And changing the default wrapper is non-BC. /-:

[snip]
> I think we agree on the method for doing these things. Make the
> changes to support the new semantics and reveal them as template or
> configuration level controls. Then eventually switch the defaults.

Yeah, that's how it should be done. I think these things should be
implemented in the 99% BC 2.4 (which is kind of a GWE compatible 2.3
variation), and then in 2.5 we just change the defaults both for the
default audience and for the default object wrapper.

> -bp
>

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.