A data structure which manages resources automatically. It lets us focus on the task at hand by giving us a handle on the acquired resource which is then automatically released in the end so that we avoid resource leaks. By Anzori (Nika) Ghurtchumelia.
The article then describes some useful utilities in Scala:
- PartialFunction[-A, +B]
- scala.util.chaining
- Function types
- Implicits & term inference
- Local functions
- lazy vals & by name parameters
- Type aliases
You will get examples for each mentioned utility. Interesting read!
[Read More]