On Wed, 22 Apr 2009 01:54:57 +1100
Alexander Klenin wrote:
> On Tue, Apr 21, 2009 at 19:45, Mattias Gaertner
> wrote:
> >> 4) I still think ' ' (space) should be added to the list of ignored
> >> constants -- for those who prefer to turn single-char constant
> >> detection on.
> >
> > Why ' ' an
On Tue, Apr 21, 2009 at 19:45, Mattias Gaertner
wrote:
>> 4) I still think ' ' (space) should be added to the list of ignored
>> constants -- for those who prefer to turn single-char constant
>> detection on.
>
> Why ' ' and not #10 or #13 or #0?
It is by far the most common. Also, unnamed #10 an
On Tue, 21 Apr 2009 14:20:55 +1100
Alexander Klenin wrote:
> 1) The name is good, if somewhat reminiscent of market-speak.
> "Buy our Lazarus -- now with Code Observer (tm)" ;-)
>
> 2) The body of empty procedure is superfluously detected as empty
> block.
empty procedures can contain comment
Alexander Klenin wrote:
> This is true, but unrelated.
> First, naming a string constant does not make it translatable,
> it should be made resourcestring (so perhaps it should be a separate
> observation --
> "message is not translatable", where "message" is defined as string
> constant containin
On Tue, Apr 21, 2009 at 14:49, Paul Ishenin wrote:
> Alexander Klenin wrote:
>> 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of
>> functions ignoring constants?
>> raise Exception.Create('Error text') is a common construct.
>
> No. Create and CreateFmt strings needs to be tran
Alexander Klenin wrote:
> 3) Perhaps 'Create' and 'CreateFmt' should be added to the list of
> functions ignoring constants?
> raise Exception.Create('Error text') is a common construct.
No. Create and CreateFmt strings needs to be translatable even for
exceptions.
Best regards,
Paul Ishenin.
1) The name is good, if somewhat reminiscent of market-speak.
"Buy our Lazarus -- now with Code Observer (tm)" ;-)
2) The body of empty procedure is superfluously detected as empty block.
3) Perhaps 'Create' and 'CreateFmt' should be added to the list of
functions ignoring constants?
raise Ex