Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 628977 thumbnail
User 355617 avatar

By piccoloprincipe
via css.dzone.com
Published: Jul 04 2011 / 09:58

The scenario of today follows from the previous article: you're reusing the parameter variable by assigning to it a new value. This time, we focus on the parameter case, and not to the generic violence against local variables. The refactoring is about introducing new, temporary variables to avoid assignment to formal parameters: the only assignment is made by PHP during the method call.
  • 6
  • 0
  • 1573
  • 2

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)