:: Re: [DNG] Wordiness of code.
Página Inicial
Delete this message
Reply to this message
Autor: Enrico Weigelt, metux IT consult
Data:  
Para: dng
Assunto: Re: [DNG] Wordiness of code.
On 05.08.2016 10:16, Hendrik Boom wrote:

> There are limits, when the size of the keywords starts to make the
> content harder to find. There's a reason common words in natural
> languages are short. There's no real advantage in having a keyword
> PROCEDURE (yes, all in caps) when PROC would do.


Well, the capitals aren't actually required in modern pascal dialects,
but i'd still use them, as it drastically increases the signal strength.

> There's no real
> advantage at having to elaborately declare a short procedure that's
> only passed as a parameter in one place instead of just usong an
> inline lambda expression.


Hmm, I use that so rarely that it doesn't make a difference.
Actually, I've seen lots of code w/ lamda expressions, which is
really hard to read.

--mtx