Link Details

Link 628977 thumbnail
User 355617 avatar

By piccoloprincipe
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
  • 1831
  • 4

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java