concept safe principle in category kotlin

appears as: safe principles, safe principle
The Joy of Kotlin

This is an excerpt from Manning's book The Joy of Kotlin.

  • Applying safe principles like immutability and referential transparency protects programs against accidental sharing of a mutable state, which is a huge source of bugs in multithreaded environments.