Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12244

Hungarian Notation and Refactoring

    XMLWordPrintable

Details

    • 386eca649dce7e3a27c7c84ad7f73e5cd4014831, fef167b96d5c1662cb10a59cb80d4a747811dbf7

    Description

      Trying the Refactoring method the first time, i tried to refactor one of my atrributes by using the generate set/get method.

      My variable declarations are like

      int miTimeToSayGoodBye;

      resulting set/Get methods are
      getMiTimeToSayGoodBye

      Suggestion:

      ignore any lower case "preceding" characters if in CamelCase;
      use all lowercase characters if all are lower case;

      expected result Should be
      getTimeToSayGoodBye

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-12244
        # Subject Branch Project Status CR V

        Activity

          People

            kosjar Nikolai Kosjar
            j.kreuzberger Joerg Kreuzberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes