@property - take it behind the woodshed and shoot it? - writefln

Philippe Sigaud philippe.sigaud at gmail.com
Fri Jan 25 11:59:45 PST 2013


On Fri, Jan 25, 2013 at 4:47 AM, Manfred Nowak <svv1999 at hotmail.com> wrote:
> Philippe Sigaud wrote:
>
>> cwritefln!"For sample
>
> Cough! `cfln' would eliminate the five letters `write'. For which
> purpose are they needed?

:)

Yes, I agree.


> Seriously, without some guarentee that `!"' starts a compile time
> checked string---and a defined metalanguage for describing compile
> time checking of compile time checked strings---close to every
> coding project will become an unmaintanable mess of DSL
> implementations "on the fly".

Well, the string-formatting DSL is well known. I don't think someone
would be that distressed by its use.

> The code you supplied on pages 170 to 171 is a good example for
> this forsight: please declare how much time an average member of
> an intended group of maintenance coders will need to grab the
> content of your idea. And of course declare the minimal skills all
> members of this group must have.

Such hate... Keep cool and please give us your own code and preferred
solution to compile-time formatting string checking.


More information about the Digitalmars-d mailing list