[Lazarus] Lazarus trunk version number

Maxim Ganetsky ganmax at narod.ru
Sat Jul 1 00:49:11 CEST 2023


30.06.2023 22:16, Giuliano Colla via lazarus пишет:
> <RANT>

I promise, this is the last mail from me in this thread. :)

> If the brilliant minds which have elaborated a new numbering scheme had 
> spent their time in something more productive, such as making life a 
> little bit easier to developers, I believe that the Lazarus community 
> would have appreciated much more!

The same holds true for writing rants in mailing lists. ;)

> For instance, there is the bad habit to "deprecate" without considering 
> what happens to developers which must maintain their programs. I found 
> it rather frustrating to replace all occurrences of clDark with 
> clDkGray, just because clDark had been deprecated, instead of simply 
> replacing the definition wit a line in types clDark = clDkGray.

Sigh, what can I say, just some numbers.

1. clDark = TColor(-5), clDkGray  = TColor($808080). These numbers are 
not equal.
2. clDark is deprecated on 23.11.2008 with a bunch of other CLX colors. 
All these colors are NOT present in Delphi. Your code emitted warnings 
at least for 10 years!
3. ClDark et al. were IFDEFed out (define DefineCLXColors), not removed 
(sic!) on 30.09.2018.

> I've been taught that the golden rule to make code reusable is to hide 
> the implementation and expose only the feature. Who cares how a color is 
> implemented, provided that it shows the same? The same holds true for a 
> lot of deprecations, which could be easily hidden without any adverse 
> effect.
> 
> </RANT>

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru



More information about the lazarus mailing list