Sunday, February 26, 2017

npm Package Analyzer

Sometimes You need to check if You really use all modules specified in package.json. I wrote simple application with UI to do this work: npm-package-analyzer.
The application was wrote on Scala with usage of ScalaFX.
You may download JAR file from here Source code on Git
To run analyzer execute command:
java -jar npm-package-analyzer-assembly-0.1.1.jar
Last version may be different!
Prerequisites: Java 8 (JRE is enough)

Tuesday, February 7, 2017

Java: Stream and Classic Loop - Benchmark

Java 8 has rich possibilities to process the collections. One of them is stream. The main goal of stream, as I see it, is changing of programming paradigm: from “how to do” to “what to do”. Focusing on functionality instead of writing the control operators.
See continue on https://ysden123.wordpress.com/2017/02/07/java-stream-and-classic-loop-benchmark/

Sunday, February 5, 2017

Scala - type bounds notation for beginners

For beginners in Scala (like me) type bounds notation causes difficulty. I tried to write  short cheat sheet with Scala type bounds notation: