background preloader

Scala School

Scala School
Other Languages: About Scala school started as a series of lectures at Twitter to prepare experienced engineers to be productive Scala programmers. Scala is a relatively new language, but draws on many familiar concepts. Approach We think it makes the most sense to approach teaching Scala not as if it were an improved Java but instead as a new language. Most of the lessons require no software other than a Scala REPL. Also You can learn more elsewhere:

Programming in Scala, First Edition Programming in Scala, First Editionby Martin Odersky, Lex Spoon, and Bill VennersDecember 10, 2008 Martin Odersky made a huge impact on the Java world with his design of the Pizza language. Although Pizza itself never became popular, it demonstrated that object-oriented and functional language features, when combined with skill and taste, form a natural and powerful combination. Pizza's design became the basis for generics in Java, and Martin's GJ (Generic Java) compiler was Sun Microsystem's standard compiler starting in 1.3 (though with generics disabled). Since that time, we at Sun tried to simplify program development by extending the language with piecemeal solutions to particular problems, like the for-each loop, enums, and autoboxing. Lately, there has been a backlash against statically typed languages. Scala is a tastefully typed language: it is statically typed, but explicit types appear in just the right places. Will Scala be the next great language? Who should read this book

mongodb/casbah - GitHub Scala Quick Guide Scala, short for Scalable Language, is a hybrid functional programming language. It was created by Martin Odersky and it was first released in 2003. Scala smoothly integrates features of object-oriented and functional languages and Scala is compiled to run on the Java Virtual Machine. Here is the important list of features, which make Scala a first choice of the application developers. Scala is object-oriented: Scala is a pure object-oriented language in the sense that every value is an object. Classes are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance. Scala is functional: Scala is also a functional language in the sense that every function is a value and because every value is an object so ultimately every function is an object. Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying. Scala is statically typed:

Introduction Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages. Scala is object-oriented Scala is a pure object-oriented language in the sense that every value is an object. Scala is functional Scala is also a functional language in the sense that every function is a value. Furthermore, Scala’s notion of pattern matching naturally extends to the processing of XML data with the help of right-ignoring sequence patterns. Scala is statically typed Scala is equipped with an expressive type system that enforces statically that abstractions are used in a safe and coherent manner. A local type inference mechanism takes care that the user is not required to annotate the program with redundant type information. Scala is extensible In practice, the development of domain-specific applications often requires domain-specific language extensions.

10 Scala One Liners to Impress Your Friends - @sologco Register These Currently Available Domains Today Search for your ideal .CO Web Address Get it now before it's gone! Close Notify me when the auction is scheduled for Thank you for inquiring about this premium domain. I'm sorry, but an error occurred. Recently Sold .CO Domains soso.co | $6,400 flip.co | $10,600 ban.co | $24,500 3dtv.co | $5,200 duilawyer.co | $43,000 rollerblades.co | $5,000 socialsecuritydisability.co | $6,900 rakeback.co | $8,550 newcars.co | $8,000 mylawyer.co | $5,100 duiattorney.co | $44,500 fairfield.co | $7,210 paydayloans.co | $9,375 drive.co | $5,110 nos.co | $6,110 What is .CO ? .CO is the new web address that gives you a truly global, recognizable, and credible option for branding your online presence.

Circumflex — the exquisite flavor of Scala development Scala Tutorial The Scala programming language is a newer, very interesting language, with a lot of new features compared to Java. The reason Scala is interesting to Java programmers is, that Scala is compiled to run on the Java Virtual Machine. In other words, Scala is compiled into Java bytecodes. Some of the new, interesting features in Scala are closures, functions as objects, traits, concurrency mechanisms inspired by Erlang, and its support for DSL's (Domain Specific Languages). Scala's home page is here: Scala is a big language, so this Scala tutorial is work in progress. I expect that you already know the basics of programming, and also of object oriented programming. If you disagree with anything I write here about Scala, or just have comments, questions, etc, feel free to send me an email.

'scala' tag wiki Scala Documentation - Scala Documentation Scala Collections for the Easily Bored Part 2: One at a Time 28 Jul 2008 As I hinted previously, this series is intended to delve into Scala’s extensive collections API and the many ways in which it can make your life easier. Probably the most important operations you could ever perform on collections are those which examine each element, one at a time. After all, what’s a more common array idiom than looping over all values? In that vein, this article starts by looking at foreach, the imperative programmer’s bread-and-butter when it comes to types like Array and List. But rather than just stopping there, we also will look at more powerful, higher-order operations like fold, map and the ever-mysterious: flatMap. Iterating As I said above, looping over every item in a collection is probably the most heavily used operation in a programmer’s repertoire. This code should be old hat to anyone coming from a Java background. The same approach is taken in Scala. Here we define an anonymous method (Scala’s name for a closure) which takes a single parameter.

C# Programming in Scala, First Edition Programming in Scala, First Editionby Martin Odersky, Lex Spoon, and Bill VennersDecember 10, 2008 Martin Odersky made a huge impact on the Java world with his design of the Pizza language. Although Pizza itself never became popular, it demonstrated that object-oriented and functional language features, when combined with skill and taste, form a natural and powerful combination. Pizza's design became the basis for generics in Java, and Martin's GJ (Generic Java) compiler was Sun Microsystem's standard compiler starting in 1.3 (though with generics disabled). I had the pleasure of maintaining this compiler for a number of years, so I can report from first-hand experience that Martin's skill in language design extends to language implementation. Since that time, we at Sun tried to simplify program development by extending the language with piecemeal solutions to particular problems, like the for-each loop, enums, and autoboxing. Will Scala be the next great language? How to use this book

First Steps to Scala ScalazineFirst Steps to Scalaby Bill Venners, Martin Odersky, and Lex SpoonMay 9, 2007 Summary In this article, you'll follow twelve steps that are designed to help you understand and gain some basic skills in the Scala programming language. Scala is a statically typed, object-oriented programming language that blends imperative and functional programming styles. Scala is designed to integrate easily with applications that run on modern virtual machines, primarily the Java virtual machine (JVM). The main Scala compiler, scalac, generates Java class files that can be run on the JVM. Scala was developed starting in 2003 by Martin Odersky's group at EPFL, Lausanne, Switzerland. One reason you might want to use Scala is that it allows you to increase your productivity compared to Java while leveraging JVM execution speed, your existing investments in Java code, knowledge, and the vast array of APIs available for the JVM. In Italian, Scala means staircase. scala> 1 + 2 unnamed0: Int = 3 #! >.

Related: