[your code here]
Marco Leise
Marco.Leise at gmx.de
Mon Feb 6 04:09:44 PST 2012
Am 06.02.2012, 07:38 Uhr, schrieb Era Scarecrow <rtcvb32 at yahoo.com>:
>> mixin(T_isPangram("DE_isPangram", "abcdefghijklmnopqrstuvwxyz",
>> "\\u00DF\\u00e4\\u00f6\\u00dc"));
>
> somehow this got mixed up with the earlier messed up one.. this is the
> correction for this line.
>
> mixin(T_isPangram("DE_isPangram", "abcdefghijklmnopqrstuvwxyz",
> "\\u00DF\\u00e4\\u00f6\\u00fc"));
Actually, yeah a bit Scarecrow like. For dlang or rosettacode I prefer
short and easy to read code. The one example where the result is checked
against 0b11_1111111_11111111_11111111 was really nice, since it expresses
the bit set nature in a concise and readable fashion. But it also shows
that you can put integer literals in dual notation and place _ to segment
the number.
More information about the Digitalmars-d
mailing list