3 ms·
This is actually a very good example how scala can make simple things look confusing by trying extra hard to make things look simple. In reality this code simpl
by AzzieElbab 9y ago
This is actually a very good example how scala can make simple things look confusing by trying extra hard to make things look simple. In reality this code simply means that compiler needs to know how to convert T into a Try[U], but the abstraction looks leacky and confusing, partially because it exposes compiler generxated typeclass <:<:
On the other hand, it never fails to amaze me how java users who are willing to accept the magic of java frameworks get so worked up over scala's presumed complexity