andrewoma/kwery

Dialects (e. g. PostgresDialect) may be objects (singletons)

Closed this issue · 1 comments

Why Dialects are represented by open classes? Does implementation inheritance really makes sense here? If no, then Dialects encapsulate no state and thus can be converted to 'object declarations' (singletons).

They certainly could be singletons. They're open with the idea of tweaking things like a MySQL5.7 variant of MySQL, but this could be achieved in other ways.