Skip to content

Commit 56f4c0d

Browse files
committed
Add conclusion to blog post
1 parent c1cd7e1 commit 56f4c0d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/blog/_posts/2016-12-05-implicit-function-types.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,13 @@ comonads is very interesting in its own right.
358358
But these discussions will have to wait for another time, as
359359
this blog post is already too long.
360360

361+
## Conclusion
362+
363+
Implicit function types are unique way to abstract over the context in
364+
which some piece of code is run. I believe they will deeply influence
365+
the way we write Scala in the future. They are very powerful
366+
abstractions, in the sense that just declaring a type of a function
367+
will inject certain implicit values into the scope of the function's
368+
implementation. Can this be abused, making code more obscure?
369+
Absolutely, like every other powerful abstraction technique. To keep
370+
your code sane, please keep the (Principle of Least Power)[http://www.lihaoyi.com/post/StrategicScalaStylePrincipleofLeastPower.html] in mind.

0 commit comments

Comments
 (0)