3 ms·
Reserved words really shouldn't require manual care; "list of keywords in X language" is really easy to handle so you can just append an underscore. I do think
by o11c 2y ago
Reserved words really shouldn't require manual care; "list of keywords in X language" is really easy to handle so you can just append an underscore.
I do think that namespaces need to be semi-manually managed though (likely only at the project level), since often there are things that look like a namespace but shouldn't be treated like one, and it's not always obvious from a single identifier how many words should be treated as the namespace in some styles.
One special case is that sometimes C-ish libraries have class-likes like {Foo, FooBar, FooBaz} where the desired mapping is {foo.Foo, foo.Bar, foo.Baz}.