why ; ?
Bruce Adams
tortoise_74 at yeah.who.co.uk
Fri May 9 15:59:35 PDT 2008
On Thu, 08 May 2008 18:20:15 +0100, Janice Caron <caron800 at googlemail.com>
wrote:
>> Programmer, who got used to one language finds it difficult to switch
>> to another language, because different languages require different
>> styles of thinking. Thus for C programmer it's difficult to understand
>> block statement without braces :) and for basic programmer it's
>> difficult to delimit block statement with braces.
>
> Ah yes - that's probably true.
>
> I wonder if it's possible to write a standalone tool that doesn't know
> or care about language grammar (except maybe some general rules about
> what constitutes a quote or a comment), that can freely convert
> between
>
> Lorem ipsum (dolor sit amet)
> {
> consectetur!(adipisicing)(elit, sed);
> do
> {
> eiusmod tempor incididunt;
> ut labore;
> et dolore;
> }
> magna(aliqua);
> }
>
> and
>
> Lorem ipsum (dolor sit amet):
> consectetur!(adipisicing)(elit, sed)
> do:
> eiusmod tempor incididunt
> ut labore
> et dolore
> magna aliqua
>
> If so, we can have not only D-in-Python-style (which I'd never use),
> but also Python-in-D-style (which I actually might). It sounds like it
> ought to be feasible.
That's actually quite a clever way to enter a code obfuscation contest. My
grasp of latin
is just sufficient to want to make me try to interpret what your saying
(and fail because
I dropped Latin in favour of Chemistry) and ignore your code.
More information about the Digitalmars-d
mailing list