Orders of ignorance
• 0th Order Ignorance: Lack of Ignorance
• 1st Order Ignorance: Lack of Knowledge
• 2nd Order Ignorance: Lack of Awareness
• 3rd Order Ignorance: Lack of a Suitably
Efficient Process
• 4th Order Ignorance: Meta Ignorance
Thursday, May 23, 13
implicit
def
string2Int(s:
String):
Int
=
Integer.parseInt(s)
val
foo
=
"22"
val
bar
=
"some"
def
fooBar(i:
Int)
=
i
+
1
fooBar(foo)
fooBar(bar)
//
ouch
Thursday, May 23, 13
Cake pattern pitfalls
• Initialization order
• Initialization order
• Compilation time overhead (traits)
• Beautiful theory, less beautiful practice
Thursday, May 23, 13
Cake pattern pitfalls
• Initialization order
• Initialization order
• Compilation time overhead (traits)
• Beautiful theory, less beautiful practice
WAT?
Thursday, May 23, 13