I have a third party SDK in C# which has class names like this:
com.companyname.productclass.enterprise.productname.sdkname.namespace
com.companyname.productclass.enterprise.productname.sdkname.namespace.objects
com.companyname.productclass.enterprise.productname.sdkname.namespace.objects.fields
com.companyname.productclass.enterprise.productname.sdkname.namespace.objects.fields.data
com.companyname.productclass.enterprise.productname.sdkname.namespace.security
… and so on.
Is there some point to this that I’m missing? Or is just a matter of coding style?
The SDK is rather more verbose than seems necessary in several ways, resulting in multi-thousand line .cs files, so I’m willing to accept the person(s) that wrote it have a different coding style to what I’m used to (or were being paid per byte 😀 )
Overly verbose. It wouldn’t surprise me if somehow this SDK was a port of a Java codebase or has been mainly written by Java developers.
The namespace convention is definitely not in line with general best practices and Microsoft recommendations.
See: Namespace Naming Guidelines