[ snip ]

> Sure. From what I can see of the Microsoft documentation a
> standardized String.format() function would meet the need for a
> standardized way of formatting a string just as well as a method
> based on C/Perl/PHP/Ruby sprintf() and Python's native string
> formatting, where named parameters are used instead of positional
> parameters.

Python allows both, and I prefer that style.

> Assuming there are no intellectual property concerns with adopting
> Microsoft's specification for this method, it would satisfy my use
> case for a string formatting method that accepts explicit positional
> or named parameters in support of internationalized text. I would
> simply be delighted if ES4 saved me and others from having to roll
> our own string formatter classes!

Eh, just go w/ Python's. It's more flexible, "feels" more like printf 
if/when you need it to, and can be used in the .NET-ish way.

Regards

-- 
Alex Russell
[EMAIL PROTECTED]     A99F 8785 F491 D5FD 04D7 ACD9 4158 FFDF 2894 6876
[EMAIL PROTECTED] BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723

Attachment: pgp3LKURV6n3e.pgp
Description: PGP signature

_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to