[Pas2js] Prefix_&_support
Ondrej Pokorny
lazarus at kluug.net
Tue May 15 17:21:46 CEST 2018
On 15.05.2018 17:09, Michael Van Canneyt wrote:
> On Tue, 15 May 2018, Mattias Gaertner wrote:
>> On Tue, 15 May 2018 16:37:06 +0200
>> Ondrej Pokorny <lazarus at kluug.net> wrote:
>>
>>> On 15.05.2018 14:25, Michael Van Canneyt wrote:
>>> > As said, I consider it a matter of preference. It's not because a
>>> > certain technology exists that you must use it.
>>> Yes, of course, everybody is free to reinvent a standardized
>>> technology into a slightly different technology that does the same
>>> in a worse way.
>>
>> Ehm, the _ existed before the &.
>> All tools support the _, but not all tools support the &.
>>
>> If the & could be omitted after a dot, then the & syntax would have a
>> benefit.
>
> If we're speaking of benefits: if Embarcadero had wanted to do
> something useful, they could have introduced quoted indentifiers as in
> SQL:
>
> My."Identifier with spaces and - other - weird characters".SomeMethod()
>
> and this could then have been used to allow keywods as identifiers as
> well.
> Not that I would personally use them, but at least it would make more
> sense and be in
> line with e.g. SQL.
I agree with you on this one.
I still don't agree with you on the &/_ topic but we could endlessly
continue this discussion, so better to do something useful. In any case,
keep you good work and sorry for the rattle about stupid things. I wish
FPC would have the same support as Pas2JS has!
Ondrej
More information about the Pas2js
mailing list