On Thu, Oct 30, 2014 at 07:25:42AM +0200, ketmar via Digitalmars-d wrote: > On Wed, 29 Oct 2014 21:59:25 -0700 > "H. S. Teoh via Digitalmars-d" <[email protected]> wrote: > > > Nowadays, it's all mostly muscle memory for me -- I don't even think > > about how to use it anymore, my fingers just "know" what to do to > > make a certain edit. > > yeah, that is what i missing for now. i have to force myself to use > vim like i forced myself to use D some time ago. i was trying to drop > D each time i need to do something more complicated than > `writeln("hello world!")`, but resisting that desire. and now i have > the reverse effect: i want to drop C each time i must write something > with it. ;-) where is all my joy? where are my strings, slices, > templates, metaprogramming? and don't even show me that C macros > anymore! ;-)
Yeah, D has officially ruined my life. Now I cringe every time I look at C/C++ code. :-P [...] > > And once I get some free time, I'm gonna take a shot at implementing > > compile-time checked format strings, which Andrei has already > > preapproved. D totally blows C++ out of the water with taking > > metaprogramming to whole new heights of cool, I tell ya. > > i recently wrote a very simple static 'writef', which genertes mixin > with calls to posix `write()` and i really like it. nothing serious, > though, and not very clear code, but it was fun to do a bit of > functional programming again. ;-) I saw that. Do you think it might be extendible enough to replace std.stdio.writef? T -- Do not reason with the unreasonable; you lose by definition.
