On 01/07/2025 10:38, 'Dimitry Sibiryakov' via firebird-devel wrote:
> 'Mark Rotteveel' via firebird-devel wrote 01.07.2025 10:34:
>> Personally, I don't see the point of keeping commented out code, or
>> file history comments from early 2000.
>
> If the comment describes *why* code was removed - it must be kept, IMHO.
Even if it is commented out *because* it was replaced?
For example, I see no point in retaining this comment (or these
comments) in jrd/constants.h:
```
// BLOb Subtype definitions
/* Subtypes < 0 are user defined
* Subtype 0 means "untyped"
* Subtypes > 0 are Firebird defined
*/
// BRS 29-Apr-2004
// replace those constants with public defined ones isc_blob_*
//
//const int BLOB_untyped = 0;
//
//const int BLOB_text = 1;
//const int BLOB_blr = 2;
//const int BLOB_acl = 3;
//const int BLOB_ranges = 4;
//const int BLOB_summary = 5;
//const int BLOB_format = 6;
//const int BLOB_tra = 7;
//const int BLOB_extfile = 8;
//const int BLOB_max_predefined_subtype = 9;
//
```
> History comments are not better than file log.
>
--
Mark Rotteveel