Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2873

Suggest using combined assignment operators

    XMLWordPrintableJSON

Details

    Description

      e.g. 

      // ??
      $string = $string ?? "value"; // before
      $string ??= "value"; // after
      
      // +
      $x = $x + 100; // before
      $x += 100; // after

       

      Attachments

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              junichi11 Junichi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m