Project

General

Profile

Feature #1696

Feature #1692: optimize/rewrite common expression idioms

create a variable to replace multiple uses of a string literal

Added by Eric Faulhaber over 11 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
8.00 h
billable:
No
vendor_id:
GCD

History

#1 Updated by Eric Faulhaber over 11 years ago

  • Subject changed from create a variable to replace multiple uses of a constant string to create a variable to replace multiple uses of a string literal

If the same string literal is used in multiple places (in the same scope), implement a String variable and then reference it from those places, to avoid repeating the literal in code.

#2 Updated by Greg Shah over 11 years ago

  • Target version set to Code Improvements

#3 Updated by Greg Shah over 7 years ago

  • Target version changed from Code Improvements to Converted Code Improvements - Deduplication

Also available in: Atom PDF