Windows CoffeeScript Auto-Compiler using Groovy and JDK 7 WatcherService

Update: Node.js for Windows has been improved since this post, so this information is obsolete. Last time I checked I was able to run CoffeeScript the same on Windows as I do on Linux and OSX. If you’re using the CoffeeScript compiler for Windows (By Alexey Lebedev) you’ve probably noted a lack of a -w or “–watch” argument. …

Windows CoffeeScript Auto-Compiler using Groovy and JDK 7 WatcherService Read More »

Closures Are in Again

According to Sun, the controversial language feature, Closures, that was previously removed from the JDK 7 feature list has now been added in again (via).  I’m looking forward to the JSR on this one.  While I can’t see it being more elegant that using Scala, it will definitely make certain algorithms much nicer to implement in Java.

Using the New java.io.Console Class

The 1.6 release of the JDK included a new java.io.Console class, which adds some new features to enhance and simplify command-line applications. Notably, Console includes a method specifically for reading passwords that disables console echo and returns a char array; both important for security. Scenario: Getting Username and PasswordGetting a user’s username and password is probably one of the more common …

Using the New java.io.Console Class Read More »

Scroll to Top