skip to main
|
skip to sidebar
Now Where'd I Learn That?
Learning from mistakes begets new discoveries
Wednesday, January 6, 2010
Check out what the java compiler is doing to the class file...
with javap command!
*Slap *Slap
From Effective C++, by Scott Meyers :
"Anytime you find yourself writing code of the form "if the object is of type T1, then do something, but if it's of type T2, then do something else," slap yourself.
solution : overriding the method
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
lolipoops
curiosity kills me. BIG TIME.
View my complete profile
Followers
My Blog List
Coding Horror
The Rise of the Electric Scooter
5 years ago
Blog Archive
▼
2010
(5)
►
July
(1)
►
May
(1)
►
April
(1)
▼
January
(2)
Check out what the java compiler is doing to the c...
*Slap *Slap
►
2009
(8)
►
December
(1)
►
September
(1)
►
July
(6)