How To Write Effective Code
How To Write Effective Code
How To Write Effective Code
EFFECTIVE CODE
OVERVIEW
Page 2
How to write Effective code
TABLE OF CONTEXT:
FORWORD……………………………………………….3
PRINCIPELS……………………………………………….4
SIMPLICITY…………………………………………5
PRACTICAL TIPS…………...……………………………..8
MY OTHER DOCUMENTATION………………………….10
Page 3
How to write Effective code
FORWROD
Page 4
How to write Effective code
Page 5
How to write Effective code
Page 6
How to write Effective code
PRINCIPLES
Perfection is in simplicity
Page 7
How to write Effective code
Page 8
How to write Effective code
-
- The law of Demeter :
More formally, the Law of Demeter for functions requires that a method M of an object O may
only invoke the methods of the following kinds of objects:
o O itself
o M's parameters
o any objects created/instantiated within M
o O's direct component objects
Page 9
How to write Effective code
Page 10
How to write Effective code
PRACTICAL TIPS
Page 11
How to write Effective code
To be continuing...
Page 12
How to write Effective code
DONATION
Page 13
How to write Effective code
MY OTHER PAPERS
Page 14
How to write Effective code
Java Caching
what is new in java 5
Page 15