vinayhulgar / EffectiveJava

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EffectiveJava

Item 42: Prefer Lambdas to Anonymous Classes
πŸ“Œ .

Item 57: Minimize the scope of local Variables.
πŸ“Œ The most powerful technique for minimizing the scope of a local variable is to declare it where it is first used.
πŸ“Œ Nearly every local variable declaration should contain an initializer.
πŸ“Œ Prefer for loops to while loops.
πŸ“Œ Preferred idiom for iterating over a collection or array.
πŸ“Œ keep methods small and focused.

Item 58: Prefer for-each loops to traditional for loops
πŸ“Œ

About


Languages

Language:Java 100.0%