Skip to content

An example illustrating the differences between val, lazy val and def in Scala.

License

Notifications You must be signed in to change notification settings

zaklogician/valdef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

valdef

An example illustrating the difference between the semantics of val,def and lazy val.

Usage

Execute sbt run.

Contributing

  1. Create a fork!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

About

An example illustrating the differences between val, lazy val and def in Scala.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages