4 ms·
> The other programmers were like type casting to Any or whatever that generalize highest type was (unified type theory). As a Scala dev, that is absolutely te
by saryant 12y ago
> The other programmers were like type casting to Any or whatever that generalize highest type was (unified type theory).
As a Scala dev, that is absolutely terrifying. I can't even begin to think of a good reason for that.
- codygman 12y agoIt sounds like a Haskell programmer using unsafePerformIO everywhere. Or, perhaps a more apt example would be using Data.Dynamic for everything.
- saryant 12y agoYeah, casting to Any isn't a "grey area" in Scala's OO/Functional mix, it's just plain crazy.
- carterschonwald 12y agoThose are still pretty safe to do. OTOH, Any drops everything on the floor
- michaelochurch 12y agounsafePerformIO is for quiche eaters. Real programmers use accursedUnutterablePerformIO. (Ok, but in all seriousness... don't.)