Re: [Exim] [patch] A few minor fixes/improvements.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kirill Miazine
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] [patch] A few minor fixes/improvements.
* Alexander V Alekseev [2002-10-18 13:51]:
> > > I've thinked about it many times. It's really difficult to
> > > create/understand/debug sentences with unbalanced {}. Just as an
> > > idea: if it is really usefull, why perl developers (who broke many
> > > commonly adopted programming language constructs) don't use
> > > unbalanced {} ?
> >
> > See my last comment.
> >
> > > Please, think yourself. Is it really easier for you to undestand and
> > > create unbalanced constructs? Especially, the way exim is handling
> > > them? You have to predict, how many '}' you should supply to your new
> > > construct!
> >
> > Hu?
> > Why should i need to predict them?
> > I just escape } and { if they are located in a string.
> > And you don't need balanced constructs all the time, don't you
> > understand this? a } could be without any { in a string, what you do, is
> > BREAKING this, you break something that isn't wrong at all.
>     You pointed out, that everyone escapes {}. That's right. Why do
> you think then, such undocumented bug should be supported? For someone,
> who don't read the documentation?


Because escaping { inside {} is logical NATURAL! It's just like you
would escape a double quote inside a double quoted string.

If they don't RTFM they know nothing about string expansion anyway.

--
Kirill