On Wed, 21 Feb 2018, Sven Barth via fpc-pascal wrote:
Am 21.02.2018 09:48 schrieb "Ryan Joseph" <r...@thealchemistguild.com>:
On Feb 21, 2018, at 2:57 PM, Michael Van Canneyt <mich...@freepascal.org>
wrote:
The job of the compiler is to create correct code. Not to ensure you
write readable code. Every feature that is introduced
offers more scope for abuse (generics jump to mind).
I think you may change your mind if you had to type
NSSomeLongNameOfSomethingValueKey all day instead of .Value. Remembering
prefix names is a waste of my time if the compiler can do it for me.
I wonder how many hours total in my life I’ve spent writing lists of
constants with prefixes and then typing them back out in function calls.
I simply rely on my IDE (Lazarus, Visual Studio) to complete long
identifier names for me so that I don't have to. *shrugs*
My point exactly. Not the job of the compiler.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal