Learn Scala with the Koans Daniel Hinojosa and Dianne Marsh OSCON - - PowerPoint PPT Presentation

learn scala with the koans
SMART_READER_LITE
LIVE PREVIEW

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,


slide-1
SLIDE 1

Learn Scala with the Koans

Daniel Hinojosa and Dianne Marsh OSCON 2012

Monday, July 16, 12

slide-2
SLIDE 2

Download

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

slide-3
SLIDE 3

Getting Started

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

slide-4
SLIDE 4

Compile and Run

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

slide-5
SLIDE 5

Finding Your Path

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)

http://www.scalakoans.org/finding-path

Monday, July 16, 12

slide-6
SLIDE 6

We’re here to help

Monday, July 16, 12

slide-7
SLIDE 7

Solutions Guide

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

slide-8
SLIDE 8

Contributing

  • http://scalakoans.org

Monday, July 16, 12

slide-9
SLIDE 9

Contacting us

Daniel Hinojosa -- Albuquerque, NM dhinojosa@evolutionnext.com @dhinojosa Dianne Marsh -- Ann Arbor, MI dmarsh@srtsolutions.com @dmarsh

Monday, July 16, 12