Learn Scala with the Koans
Daniel Hinojosa and Dianne Marsh OSCON 2012
Monday, July 16, 12
Learn Scala with the Koans Daniel Hinojosa and Dianne Marsh OSCON - - PowerPoint PPT Presentation
Learn Scala with the Koans Daniel Hinojosa and Dianne Marsh OSCON 2012 Monday, July 16, 12 Download Mercurial users: hg clone ssh://hg@bitbucket.org/dmarsh/scalakoansexercises Everyone else: Get from USB (provides settings for IntelliJ,
Daniel Hinojosa and Dianne Marsh OSCON 2012
Monday, July 16, 12
Mercurial users: hg clone ssh://hg@bitbucket.org/dmarsh/scalakoansexercises Everyone else: Get from USB (provides settings for IntelliJ, Eclipse as well) From home: https://bitbucket.org/dmarsh/scalakoansexercises/get/tip.zip
Monday, July 16, 12
Linux and Mac: $ ./sbt Windows: c:scalakoansexercises> .\sbt.bat (Linux users)-- You may need to change your sbt to be executable, like: > chmod +x ./sbt
Monday, July 16, 12
Type the following at the SBT prompt: > test:compile Run all the koans with: > ~test-only org.functionalkoans.forscala.Koans Or, you can run specific koans (e.g., AboutAsserts) with: > ~test-only org.functionalkoans.forscala.AboutAsserts
Monday, July 16, 12
Use this koan: To mediate on: AboutAsserts
How the koans work
AboutValAndVar
How val and var declarations differ
AboutLiterals
How to specify values for common data types
(more online)
Monday, July 16, 12
Monday, July 16, 12
Mercurial users: hg clone ssh://hg@bitbucket.org/dickwall/scala-koans From home: https://bitbucket.org/dickwall/scala-koans/get/tip.zip
Monday, July 16, 12
Monday, July 16, 12
Daniel Hinojosa -- Albuquerque, NM dhinojosa@evolutionnext.com @dhinojosa Dianne Marsh -- Ann Arbor, MI dmarsh@srtsolutions.com @dmarsh
Monday, July 16, 12