[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: Lorenzo Donati <lorenzodonatibz@...>
- Date: Mon, 19 Aug 2013 14:31:20 +0200
On 19/08/2013 10.23, steve donovan wrote:
> On Mon, Aug 19, 2013 at 10:17 AM, Coda Highland <chighland@gmail.com> wrote:
>> But if we're taking C++11 into account, you could write a full-blown
>> type-aware printf replacement with printf-styled syntax thanks to
>> variadic templates.
>
> Ah, now I remember why I now write C and Lua by preference.
>
> Nice to see that the Qt solution is sensible. C++ is not fun if you
> can't build things on it ;)
>
Well C++ is a sort of Dr.Frankenstein's creature: it has so many
different parts, sometimes it seems it has a life of its own and it also
went out of control of its creator.
No kidding: see how template metaprogramming (TMP) was discovered by
accident [1] - a Turing complete sub-language that wasn't foreseen!!! :-)
[1]
http://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/Template_Meta-Programming#History_of_TMP
> But gentlemen, I fear we are drifting off topic, unless someone can
> pull in Lua really quickly.
>
>
Well, since we are on the sci-fi edge: maybe a sort of TMP can be
sanitized, tamed and brought into Lua 5.3 - all with a Lua flavour of
course! :-)
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
- References:
- [OT] Lua community and Go language, Lorenzo Donati
- 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
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Tim Hill
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), steve donovan
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Coda Highland
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), steve donovan
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), Coda Highland
- Re: printf is a crappy language in a crappy language (was Re: [OT] Lua community and Go language), steve donovan