[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language)
- From: Tim Hill <drtimhill@...>
- Date: Sun, 18 Aug 2013 16:02:24 -0700
Let's be fair to printf() .. it's not crappy it's just that it was designed when priorities were different. For example, a target computer at the time had maybe 64Kbytes (yep) or LESS of RAM (I'm thinking PDP-11 as well as the emerging 8-bit microprocessors), and the developers time was less valuable (on an hourly basis) than the cost of running the computer.
However, it's time has come and gone, and it is certainly out of date. 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).
--Tim
- References:
- [OT] Lua community and Go language, Lorenzo Donati
- Re: [OT] Lua community and Go language, Sven Olsen
- Re: [OT] Lua community and Go language, Gé Weijers
- Re: [OT] Lua community and Go language, Miles Bader
- Re: [OT] Lua community and Go language, Craig Barnes
- Re: [OT] Lua community and Go language, Rena
- Re: [OT] Lua community and Go language, Lorenzo Donati
- Re: [OT] Lua community and Go language, steve donovan
- printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Jay Carlson
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), William Ahern
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Jay Carlson
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Andres Perera
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Jay Carlson
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Andres Perera