List/Grid JVM Languages Subscribe to the RSS feed of category JVM Languages

scala-logo

Dry parameter names

How often do you see code like this, especially when using dependency injection, single-responsibility principle, and other “good practices”?                   class ...
scala-logo

Scala: Collections 1

This post contains some info on Scala’s collections. Problem? We want a function that will take an List of Rugby players as input and return those players names that play for ...
scala-logo

Structural (or) Type Safe Duck Typing in Scala

Structural typing as defined by Wikipedia “A structural type system (or property-based type system) is a major classof type system, in which type compatibility and equivalence are ...
scala-logo

Probability distribution for programmers

This is one of these very simple programming puzzles I came across recently: given a function returning random integers from 0 to 4 inclusive with equal probability, write a function ...
gradle-logo

The Lazy Developer’s Way to an Up-To-Date Libraries List

Last time I shared some tips on how to use libraries well. I now want to delve deeper into one of those: Know What Libraries You Use. Last week I set out to create such a list of embedded ...
scala-logo

Scala: call me by my name please?

In Java, when frameworks such as log4J became popular in Java architectures it was a common occurence to see code such as:                   if ...
scala-logo

Scala: Do you partially understand this?

Nearly everyone who learns Scala can get confused over the word partial used in the contexts:Partial functions Partially applied functionsLet’s look at both. Partially applied ...
clojure-logo

Clojure: Reading and writing a reasonably sized file

In a post a couple of days ago I described some code I’d written in R to find out all the features with zero variance in the Kaggle Digit Recognizer data set and yesterday I started ...
scala-logo

Scala function literals

Functions are an important part of the Scala language. Scala Functions can have a parameter list and can also have a return type. So the first confusing thing is what’s the difference ...
spring-logo

Spring Dynamic Language Support with Groovy

Groovy is a dynamic and object-oriented programming language running on JVM. It uses a syntax like Java, can be embedded in Java and is compiled to byte-code. Java code can be called ...
Page 4 of 14« First...23456...10...Last »
© 2010-2012 Java Code Geeks. Licenced under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.