Tuesday, December 9, 2014

Top 5 Java Performance Tuning Books - Best of Lot, Must read

Top 5(6) Java Performance Tuning Books - Best of Lot, Must read


  1. Java Performance: The Definitive Guide by Scott Oaks
  2. Java Performance by Binu John, Charlie Hunt
  3. System Performance: Enterprice and the Cloud by ABrendan Gregg
  4. Java Perforamance Tuning by Jack Shirazi
  5. Java Persformance and Scalability: A Quantitative Approach by Henry H. Liu
  6. Tahe Well-Grounded Java Developer

(See: http://javarevisited.blogspot.com/2014/07/top-5-java-performance-tuning-books.html)

Tuesday, December 2, 2014

6 Book to Lear and Master Programming and Coding - Must Read

6 Book to Lear and Master Programming and Coding - Must Read

  1. Refactoring, Improving design of existing code
  2. Clean Code
  3. Code Complete
  4. The Art of Unit Testing
  5. Leading Lean Software Developer
  6. Design Patterns, Elements of Reusable Object-Oriented Software

Friday, November 28, 2014

JAVA: Passaggio di parametri

In Java il passaggio di parametri ad un metodo è sempre a valore, questo significa viene sempre effettuata una copia interna al metodo.
Bisogna però prestare attenzione al tipo del parametro. Quando il tipo è un primitivo allora il metodo utilizza una copia della variabile, mentre quando il parametro è di tipo reference allora il metodo utilizza una copia del parametro che però punta allo stesso oggetto dell'originale.