best/proper way to declare constants ?

someone someone at somewhere.com
Fri Aug 6 14:45:23 UTC 2021


On Friday, 6 August 2021 at 04:57:02 UTC, Ali Çehreli wrote:

> May I humbly suggest names like Location instead of 
> structureLocation to make refactoring even more 
> straightforward. ;)

just renamed everything like following:

- sWhatever for structures
- iWhatever for interfaces
- cWhatever for classes

- udtWhatever for initialized structures
- objWhatever for instantiated classes

... far better ;D


More information about the Digitalmars-d-learn mailing list