On Wednesday 23 of November 2011, Michael Meeks wrote:
I know C++ doesn't like var-args, and I know var-args is type-unsafe,
and thus per-se 'evil' :-) but it also happens to be really easy to use
& read, better to translate, very familiar to most developers, and ...
... and they abort at runtime with anything that's not a plain type, most
notably C++ strings.
And some of the arguments are rather weak as well, I can get you easy to use
and read, better to translate and similarly space efficient without var-args.
Wanna bet :) ?
Also, string usage in LO is rather cumbersome as it is and in general it'd be
probably a good trade-off to waste a couple of bytes on each string operation
that doesn't need a whole line of code to express a trivial operation.
--
Lubos Lunak
l.lunak@suse.cz
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.