The document discusses introducing Scala for web development. It provides an overview of Scala's features like static typing, functional programming support, and frameworks. It then recommends a path for easing into Scala web development by starting with an existing Java/Spring project and gradually adopting Scala. Alternatives like Lift and Akka are also briefly mentioned.
87. Use Scala REPL to determine proportion of responses at each proficiency level Grpah here
88. Becoming 'functional' /** * all accounts for this user, given user id */ public List<Account> getAccounts(String id) { return accounts.get(id); } public List <Account> getAccounts(String id) { return Collections.unmodifiableList (accounts.get(id)); }
99. Typing Dynamic Typing Static Typing Strong typing 1 . Groovy, Jruby, Javascript 2 . Java, Scala, C# Weak typing 3 . Perl C Variable Value var a: String ” 1” :String var a ” 1”
100. Scala v. others Scala Groovy Ruby Clojure C# Low barrier to entry from Java JVM Type inference Type safety Expressive Correctness in concurrency REPL Traits