Tag: scala
All the articles with the tag "scala".
Introduction to Clear-Config in Scala
mongo.dbName = "mongoDB" mongo.username = "mongoUser"
Loading Configs in Scala using PureConfig
We can create the required case classes to hold the configurations. Pureconfig can then load the config from the files to these config classes. Pureconfig can handle HOCON, JSON and Properties...
Tagged Types in Scala
Programming languages utilize the concept of Tagged Type to enhance type safety and mitigate common errors. While not a standard library feature, Scalaz, Shapeless, and Scala-Common offer their...
Duck Typing In Scala
Duck Typing or Structural Typing in Scala