Search code examples
naming-conventionsnamingvariable-namesclass-names

Really long class/variable/property/method names


Some friends and colleagues of mine have a little running contest to find or write the longest class/variable/property/method names possible. Keep in mind, we try to be good boys and girls and keep the naming intelligible and concise, while still explaining what the thing does via its name.

Sometimes it just doesn't happen though. Have you run in to this? I'd just like to see what's out there. (Maybe my friends and I aren't as crazy as we think)

Note: I'm not looking for bad naming. That's already here. I'm looking for good naming that just got a little long.


Solution

  • This isn't a class name but an enum, but it's a lot longer:

    VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther
    

    from the VMware vSphere API. Google for it and you'll find the online documentation.