Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-752

identical class names, method names, and parameter names cause painful ambiguity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Platforms F (01/29/16)

      Description

      The C++11 driver employs significant technical acrobatics to disambiguate between types, functions, and parameters with the same name. As such, contributors are forced to learn esoteric features of the language like class qualifiers and other obscure techniques for disambiguating the overloaded names.

      Given that the benefit of naming the related classes, methods, and parameters the same thing is mostly subjective (some aesthetic pleasantry) - and the downsides are fairly obvious (the driver is harder to contribute to), I think that we should change the types to end in _t (or adopt some other convention) to disambiguate.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: