On 30/06/2023 05:27, Dmitry Yemanov wrote:
>
> I don't have any preference re. lowercase vs CamelCase for namespaces.
> Also, personally, I'd prefer (and already suggested that in the past) to
> have the "engine" naming rather than "jrd". But both points give us very
> little practical benefit while complicating the merges (and not only
> backporting patches into release branches, but also syncing the code
> between forks), so I'm not going to push my personal preferences.
>
> As for nested namespaces, I see some real benefits in that. But this is
> also likely to affect merges, and so far I'm somewhat sceptical whether
> the change would worth it. This is discussable though.
>
It would be very unfortunate if we can't or we should always think (and
not act, because of precedents) if we can't change the code because it
will be many edits and will complicate life of forks and merges.
If we had no window for that, we would still be using C.
In topic "Split ExprNodes, BoolNodes and StmtNodes" about rename/move
many files, you all agree that while it's annoying it's something we can do.
If things like
"Firebird::GenericMap<Firebird::Pair<Firebird::Left<Firebird::PathName,
WorkerAttachment*> > >" is considered normal and cannot be improved,
then it's not adopting new C++ versions that is going to improve our
code. On the contrary, we'll need to redo modern to outdated code in
backports, so if we think this way, we're stagnated forever.
Adriano