lua-users home
lua-l archive

Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Aug 19, 2013, at 8:44 PM, Miles Bader <miles@gnu.org> wrote:

To my mind the worst thing about it is the implicit rather than
explicit parameter indexing, which makes localization much harder
(you can't change order in the format string to match language needs
w/o changing the argument order to the call as well).

As I understand it, POSIX printf actually _does_ support explicit
parameter indexing (and I believe translation strings are indeed the
motivator for this).

Yes, it finally made it into the standards and does seem to be getting adopted :)

--Tim


AltStyle によって変換されたページ (->オリジナル) /