giD v0.9.2 GObject Introspection binding repository and generator with Gtk4 support

Bastiaan Veelo Bastiaan at Veelo.net
Wed Feb 19 11:14:51 UTC 2025


On Tuesday, 18 February 2025 at 00:16:40 UTC, Element Green wrote:
> On Monday, 17 February 2025 at 11:32:06 UTC, Dejan Lekic wrote:
>> Amazing! The only thing I do not like is that module/package 
>> names are upper-case, but GtkD does the same so it should be 
>> easier to move to gid/gidgen if it turns to be equally good...
>
> I got another request for making the names lower case.  I guess 
> that would be **snake_case** for the modules and just lowercase 
> for the package names?  So for example 
> `pangocairo.font_map.FontMap` would be the 
> `package.module.class`.

First off: Cool project!

About names: Indeed, this is what the language spec has to say 
about module names (https://dlang.org/spec/module.html):

> By convention, package and module names are all lower case. 
> This is because these names have a one-to-one correspondence 
> with the operating system's directory and file names, and many 
> file systems are not case sensitive. Using all lower case 
> package and module names will avoid or minimize problems when 
> moving projects between dissimilar file systems.

Cheers,
Bastiaan.


More information about the Digitalmars-d-announce mailing list