Quantcast
Channel: JavaPins - Stories tagged with scala
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Fun with function composition in Scala - Java Code Geeks

The goal of this post is to show how a list of functions can be composed to create a single function, in the context of mapping a set of values using those functions. It’s a cute example that shows off...

View Article



Image may be NSFW.
Clik here to view.

A crash course in Scala types - Java Code Geeks

After many years of Java development, discovering Scala’s type system and related features was something of a departure for me. Suffice to say GADT wasn’t my first four letter utterance when learning...

View Article

Image may be NSFW.
Clik here to view.

Peter Pilgrim :: Java Champion :: Enterprise Blog » Custom Ordering Scala...

How do you get custom ordering in a Scala TreeMap? Well this puzzled me for a while. The answer lies in the world of implicits and receiver type converters. In a nut shell, a...

View Article

Image may be NSFW.
Clik here to view.

NoBlogDefFound: Secret powers of foldLeft() in Scala

foldLeft() method, available for all collections in Scala, allows to run a given 2-argument function against consecutive elements of that collection, where the result of that function is passed as the...

View Article

Image may be NSFW.
Clik here to view.

NoBlogDefFound: eta-expansion (internals) in Scala explained

Today we will learn how Scala compiler implements very important aspect of the language known as an eta-expansion. We will see how scalac works around the limitations of JVM, in particular with the...

View Article


Image may be NSFW.
Clik here to view.

NoBlogDefFound: What features of Java have been dropped in Scala?

Despite more complex and less intuitive syntax compared to Java, Scala actually drops several features of Java, sometimes for good, other times providing replacements on the standard library level. As...

View Article

Image may be NSFW.
Clik here to view.

Scala: Working with Predicates « Statically Typed

I love me some Scala.  Actually, since it’s now my day job, I love it all the time.  It combines the short, expressiveness that I prized in Python with a rich library base (thanks Java) and the...

View Article

Image may be NSFW.
Clik here to view.

Tom's Programming Blog: Implicit Conversions in Scala

Following on from the previous post on operator overloading I'm going to be looking at Implicit Conversions, and how we can combine them to with operator overloading to do some really neat things,...

View Article


Image may be NSFW.
Clik here to view.

Tom's Programming Blog: "Operator Overloading" in Scala

So, I've been teaching myself Scala recently, and it's a very interesting language. One of the nice things I like about it, is it's support for creating DSLs, domain specific languages. A domain...

View Article


Image may be NSFW.
Clik here to view.

Basic XML processing with Scala « Bcomposes

Topics: XML, Scala XML API, XML literals, marshallingIntroduction Pretty much everybody knows what XML is: it is a structured, machine-readable text format for representing information that can be...

View Article

Image may be NSFW.
Clik here to view.

Missing OO and FP bridge in Scala @ Blog of Adam Warski

Scala blends functional and object-oriented programming in many nice ways. You can use both FP an OO-like constructs whichever fits the current problem better. But there’s always room for improvement!...

View Article

Image may be NSFW.
Clik here to view.

NoBlogDefFound: Oslo coderetreat summer 2012 - in Scala

Few days ago I had a pleasure to attend Coderetreat summer 2012 in Oslo, carried out by Johannes Brodwall. It was a great experience, I had an opportunity to do some pair programming with six different...

View Article

Image may be NSFW.
Clik here to view.

Intermediate Java | Yammer dumps Scala for Java

← The Lion lies down with the LambdaMillion Steps Revisited →Posted onbydcbyron From the Dose of Reality Department, here's a detailed explanation, apparently from Yammer, of why Yammer is dumping...

View Article


Image may be NSFW.
Clik here to view.

Building your own function objects in Scala

This article is based on Scala in Action , to be published on Fall 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,)...

View Article

Image may be NSFW.
Clik here to view.

Methods and Pattern Matching in Scala

This article is based on Scala in Action , to be published on Fall 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,)...

View Article


Image may be NSFW.
Clik here to view.

Insertion Sort in Scala | Johannes Thönes

← Get All SVN Commiters from a Repository or Working CopyDevoxx 2010 →Posted onbyJohannes Thönes Finally beeing a bit more serious about learning the Scala language, I wanted to do some exercises to...

View Article

Image may be NSFW.
Clik here to view.

Looping around with Rajith...: Introduction to Scala

Scala scala scala .... one of the most popular JVM based language. So here I found some great presentation about scala which gives some basic idea. :)

View Article


Image may be NSFW.
Clik here to view.

Getting a Scala def main() to run with IntelliJ IDEA | Christian Posta —...

My thoughts to lend context and direction to developers striving to become better at their craft Christian Posta — Software BlogAbout my blogGetting a Scala def main() to run with IntelliJ IDEA When...

View Article

Image may be NSFW.
Clik here to view.

Real World Scala Test - Java Code Geeks

There was recently a study about Scala vs. Java where some of Scala’s productivity, conciseness, and multi-core abilities were put to the test. The basic idea is take some semi-experienced programmers,...

View Article

Image may be NSFW.
Clik here to view.

Tutorial: Getting started with scala and scalatra - Part I | Smartjava.org

Search formSearch

View Article
Browsing all 25 articles
Browse latest View live




Latest Images