Showing posts with label Scala. Show all posts
Showing posts with label Scala. Show all posts

Scalatron - Learn Scala With Friends

Bots
Scalatron is a programming game in which bots, written in Scala, compete against each other in a virtual arena.
Sounds like fun! How would that work?
…get together with some friends, set up a server, attach a projector, order some pizza and start hacking! A Scalatron hack-a-thon may be the quickest and most entertaining way to get a group of programmers into Scala.
The rules of the game are clearly explained in the docs, so you can figure out how to code the Master bot with his Mini-bots and their interactions with Fluppet, Snorg, Zugar, and Toxifera.
You can also checkout these samples to get a better feeling on how a bot would get coded.
A Scalatron evening sure sounds like fun, so checkout if there’s one happening in your area, or maybe even host one?

Руководство по Scala для Java программистов

1 Введение
Этот документ дает возможность быстро ознакомиться с языком программирования и компилятором Scala.Этот документ предназначен для людей, которые уже имеют опыт в программировании и хотят посмотреть, что они могут сделать в Scala. При этом необходимо наличие основных знаний объектно-ориентированного программирования, особенно на Java.
2 Первый пример
Как первый пример мы будем использовать стандартную программу Hello world. Она не очень интересная, но позволяет легко продемонстрировать использование инструментов Scala без особого знания языка. Вот как она выглядит:
object HelloWorld {

def main(args: Array[String]) { println("Hello, world!" )
} }

Top 20 Web Frameworks for the JVM


Web application frameworks are designed to support the development of dynamic websites, web applications and web services, by alleviating the overhead associated with commonly performed activities, boilerplate code, etc. For example, many frameworks provide facilities for database access, templating, session management, and more. Since the early days of Java, there have been many frameworks and libraries that have tried to improve web developers productivity and this trend has continued with JVM languages like Groovy, Scala, JRuby, Clojure, and more.

Using the new community research tool, we at InfoQ want to get YOUR opinions on the relative importance and maturity of a variety of web frameworks that are targeted for the JVM. Please vote by dragging each practice across two dimensions – how important is the framework relative to the other frameworks, and how much is it actually used in real teams and projects.

This is an initial list - please tell us which other frameworks we should include in future versions of this community survey so we can improve the tool and provide information that will be useful to the community.

The frameworks are:
(*) Vert.x also supports JavaScript and Python.


The Winner is: Spring MVC