• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scala tutorials For beginners

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suggest some references for the beginners to master the concepts of scala.
 
Author
Posts: 161
31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean beginners in Scala, or beginner in programming? If you are an advanced Java programmer wanting to learn Functional programming in Scala, I suggest this book: Functional Programming in Scala.
 
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Ranch Hand
Posts: 258
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found the online course below very useful
http://www.coursera.org/course/progfun
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For a beginners I found some good resources to start learning scala

http://www.scala-lang.org/docu/files/ScalaTutorial.pdf
http://www.scala-lang.org/documentation/
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Learning Scala? Depends where you're starting from.

Books:

  • If you have little programming experience, try Atomic Scala which seems to get good reviews and is co-written by Bruce Eckel who also wrote "Thinking in Java".
  • If you have some programming background, Cay Horstman's Scala for the Impatient seems popular, although it's a few years old now.
  • Jason Swartz's Learning Scala is OK but is only a basic introduction.
  • Lots of people like Scala In Action, although it's a couple of years old now and personally I'm not sure it's a great starting point for a total beginner with Scala.
  • The standard reference ought to be Martin Odersky's Programming In Scala, which explains the fundamentals in some detail, but this is years out of date now.
  • If you want a good all-round general Scala reference I really like Programming Scala (2nd edition) by Dean Wampler and Alex Payne, which is right up to date and covers a lot of useful topics. Combine this with Alvin Alexander's Scala Cookbook and you have a pretty good set of materials to start your Scala career.
  • If you want to go hard-core functional programming all the way, then Functional Programming In Scala is excellent, but it's not an ideal beginner's book.
  • If you want to get a feel for how FP changes the way you program, you could try Functional Programming Patterns In Scala And Clojure which compares traditional OO patterns (used in Java) with more functional alternatives in Scala/Clojure, demonstrating that many OO patterns are unnecessary in FP.

  • Other resources:

  • Twitter's Scala School has some excellent advice for working with Scala in the real world.
  • The Scala website has a page on Learning Scala although this does not seem to be regularly updated.
  • Typesafe's Reactive Platform includes Typesafe Activator which gives you access to lots of tutorial projects (of varying quality) so you can play around with specific packages.



  •  
    chris webster
    Bartender
    Posts: 2407
    36
    Scala Python Oracle Postgres Database Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    IBM's Big Data University just announced a free introductory online Scala course: https://bigdatauniversity.com/courses/scala-course/
     
    Ranch Hand
    Posts: 99
    Eclipse IDE Firefox Browser Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I thought it would be better posting my question here, rather than creating a new thread.

    I've started learning Scala. But I'm kinda confused from where should I start.
    I'm trying to pick the right resource available to learn.
    Should I read the book Programming Scala (2nd edition) by Dean Wampler and Alex Payne or take the online course on Scala from IBM.
    After reading about the resources a bit, I'm thinking of reading Atomic Scala first as I guess it's more oriented towards a novice programmer but I'm not sure if it would be better.
    I have 3 years of experience in programming Java.
    Please help me out.

    Regards,
    Aakash
     
    Raymond Tong
    Ranch Hand
    Posts: 258
    2
    IntelliJ IDE Spring Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I took this one https://www.coursera.org/course/progfun and enjoy it very much which taught by Martin Odersky himself.
    I have read http://www.amazon.com/Scala-Impatient-Cay-S-Horstmann/dp/0321774094 to have a quick start
    and also read https://www.artima.com/pins1ed/ afterwards
     
    Aki Mohan
    Ranch Hand
    Posts: 99
    Eclipse IDE Firefox Browser Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Raymond Tong wrote:I took this one https://www.coursera.org/course/progfun and enjoy it very much which taught by Martin Odersky himself.
    I have read http://www.amazon.com/Scala-Impatient-Cay-S-Horstmann/dp/0321774094 to have a quick start
    and also read https://www.artima.com/pins1ed/ afterwards



    isn't the coursera course outdated?
     
    Greenhorn
    Posts: 2
    Scala Java Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Chris Webster already assembled some good resources. Here are my 2 cents.

    Cay Horstmann's book is over 300+ pages, so it's not really a quick start. Besides, it's only about the syntax and doesn't cover everything, so I would skip it in favor of "Programming in Scala", which is a must read anyway.

    Coursera's "Functional Programming Principles" is not really about Scala. For some reason, people don't pay much attention to its title, but it actually reflects its purpose pretty accurately. It's basically "Structure and Interpretation of Computer Programs" repackaged with Scala instead of Lisp/Scheme. Since it's based on a course for absolute beginners, experienced developers will probably not learn anything practical (it says "Principles of ..."). It's a decent course to learn basic FP stuff, but in terms of Scala you will probably learn more in one hour of watching this video:

    https://www.youtube.com/watch?v=DzFt0YkZo8M

    Obviously, this video is a hack as the author probably doesn't use Scala for work, but it's an efficient way to pick up the basics. Alternatively, you can start with the free sample from my book:

    https://leanpub.com/modern-web-development-with-scala

    The sample is about 45 pages and it contains everything you need to know in terms of syntax and FP basics.

    With these resources, Scala basics can be picked up in hours as opposed to weeks/months.
     
    Ranch Hand
    Posts: 239
    12
    Scala IntelliJ IDE Eclipse IDE Java Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I think it's important to note that Programming in Scala was written to be a comprehensive Scala tutorial for anyone beginner to intermediate. Plus the latest edition just came out April 2016 and covers Scala 2.12 which will come out any time now and integrates tightly with Java 8+.

    For free resources, scala-lang.org has tutorials that the community has been evolving and they have gotten pretty good now.
     
    Ranch Hand
    Posts: 4716
    9
    Scala Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I found this one called scala by example
    http://www.scala-lang.org/docu/files/ScalaByExample.pdf
    sorry, I forgot how to post a link here.
     
    Scott Shipp
    Ranch Hand
    Posts: 239
    12
    Scala IntelliJ IDE Eclipse IDE Java Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Randall Twede wrote:I found this one called scala by example
    http://www.scala-lang.org/docu/files/ScalaByExample.pdf
    sorry, I forgot how to post a link here.



    I like Scala by Example but at the same time its a bit old now (2011 publication date). I like the tutorials they have up at scala-lang.org under Documentation/Tutorials (e.g. here) and I love the Programming in Scala book.
     
    Randall Twede
    Ranch Hand
    Posts: 4716
    9
    Scala Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    thanks Scott. that is a good site. very in depth.
     
    reply
      Bookmark Topic Watch Topic
    • New Topic