Welcome to the latest release of Golo!
We are pleased to introduce Golo 2.1.0, a new stable release with incremental changes over Golo 2.0.0. We mostly focused our efforts towards behind-the-scenes polishing, so this release is relatively light on features.
Golo 3.0.0 will switch to Java SE 8 as a requirement. This release will include Java functional interfaces interoperability (a.k.a. lambdas). We also expect to introduce named parameters thanks to the efforts from Daniel Petisme.
While our developments efforts will shift to
3.x.y, we may still produce further Java 7 compatible
2.x.y releases if need be.
- Download Golo 2.1.0
- Play with Golo on Google AppEngine
- Read the Golo programming language guide
- Star / fork the project on GitHub
- Get in touch on our mailing-list
- Chat with us
isEmpty() on collection-like objects
Yannick Loiseau is a great fan of functional programming, and he went on to add these methods to further collection-like types:
- Golo tuples,
- Golo ranges,
- JVM arrays.
tail() produces immutable views of the underlying collection.
Directly calling anonymous functions
This used to be forbidden:
But thanks to Yannick this is a thing from the past, the snippet above is perfectly Golo-proof.
Yannick made Golo tuples comparable, so you can now do just that:
Module names escaping
Romain Lespinasse fixed the project creation (
golo new) so that when a project name contains non-word characters, these are replaces with a dot instead (
This avoids compilation errors due to a bad generation.
golo version --full
The very same Romain tweaked the version command so that the
--full flag also includes the JVM version being used:
$ golo version --full Golo version : 2.1.0-SNAPSHOT (build 15-03-15-12:34) JVM version: 1.8.0_31 $
Invalid parser token / Netbeans IDE
Our friends at Serli are contributing to Golo. As Guillaume Soldera is refreshing the state of the Netbeans plugin, he fixed our parser to introduce an invalid token.
This is useful for an IDE, because it integrates tightly with the Golo compiler to provide live error feedback.
The recent builds of the Golo Netbeans plugin are not available yet from the Netbeans plugin repository. This will be addressed soon, but meanwhile you can:
- build it from https://github.com/golo-lang/golo-netbeans, or
- install it manually from https://s3-eu-west-1.amazonaws.com/serli/org-gololang-netbeans.nbm
- We got rid of many compilation warning.
- We also fixed some documentation mistakes.
Until next time…