https://github.com/pedrovgs/scalafirststeps
Some samples written in Scala to evaluate some of the most important concepts of this language.
https://github.com/pedrovgs/scalafirststeps
Last synced: 6 months ago
JSON representation
Some samples written in Scala to evaluate some of the most important concepts of this language.
- Host: GitHub
- URL: https://github.com/pedrovgs/scalafirststeps
- Owner: pedrovgs
- Created: 2014-04-19T13:51:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-12T17:51:25.000Z (over 9 years ago)
- Last Synced: 2024-05-02T04:10:06.289Z (over 1 year ago)
- Language: Scala
- Size: 29.3 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FIRST STEPS WITH SCALA
======================Scala is an object-functional programming and scripting language for general software applications, statically typed, designed to concisely express solutions in an elegant, type-safe and lightweight (low ceremonial) manner. Scala has full support for functional programming (including currying, pattern matching, algebraic data types, lazy evaluation, tail recursion, immutability, etc.). It cleans up what are often considered poor design decisions in Java (such as type erasure, checked exceptions, the non-unified type system) and adds a number of other features designed to allow cleaner, more concise and more expressive code to be written.
This repository contains some samples written in Scala to evaluate some of the most important concepts of this language. This samples review this concepts:
* Hello world.
* Scala interacting with Java code.
* Everything is an object in Scala.
* Anonymous functions.
* Classes.
* Override methods.
* Simple pattern machine.
* Pattern machine.
* Traits.
* Traits with "with" sintax.
* Generics.
* Types.
* Partial applications.
* Apply methods.
* Objects.
* Case classes.
* Collections.
* Functional Combinators.
* Tail Recursion.
* Functional Composition.
* Thread and Runnable.
* Strings.
* Implicit Classes.
* Numbers.
* Scala worksheets and REPL usage.Developed By
------------* Pedro Vicente Gómez Sánchez -