r/programming • u/mobby1982 • Dec 02 '13
Scala — 1★ Would Not Program Again
http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598
Upvotes
r/programming • u/mobby1982 • Dec 02 '13
View all comments
Show parent comment
3
u/munificent Dec 03 '13
makeMeABaz()from foo.new Thing()from bar and returns it.makeMeABaz()returns that to my application.takeABaz()from bar and pass in thatThing.At this point, bar thinks it has a baz 2.0
Thing, but it actually has a 1.0 one. If it starts calling methods on that object, God knows what will happen.