4 ms·
What is your main complaint with implicits? If you don't like them, why don't you add "Use of implicits forbidden" to your coding style guidelines, and check i
by YorkshireSeason 9y ago
What is your main complaint with implicits?
If you don't like them, why don't you add "Use of implicits forbidden" to your coding style guidelines, and check in code-reviews, and add a "grep implicit" check to your CI setup that refuses to commit Scala code with implicits?
Let me paraphrase M. Odersky's PLDI 2017 keynote:
The essence of Scala is implicits
You can find it at https://www.youtube.com/watch?v=br6035SKu-0 https://www.youtube.com/watch?v=br6035SKu-0
- philipwhiuk 9y ago> If you don't like them, why don't you add "Use of implicits forbidden" to your coding style guidelines, and check in code-reviews, and add a "grep implicit" check to your CI setup that refuses to commit Scala code with implicits? Because Scala libraries that do useful stuff are infested with them. Akka loves the things. > main complaint They obscure complexity, pretending that complex stuff is simple. It makes simple stuff trivial but complex stuff harder.
- YorkshireSeason 9y ago> Akka loves the things. So? Treat Akka as a black box. You can always explicitly pass implicit arguments.
- MrBuddyCasino 9y ago"If you don't like them, why don't you add "Use of implicits forbidden" to your coding style guidelines, and check in code-reviews, and add a "grep implicit" check to your CI setup that refuses to commit Scala code with implicits?" Only someone who has never worked in a team before would suggest this.