Category Archives: Programming

Notes, posts about programming

About Being a Polyglot Software Engineer

https://sap1ens.com/blog/2017/05/04/about-being-a-polyglot-software-engineer/ Advertisements

Rate this:

Posted in Programming | Tagged , , | Leave a comment

Access to test files

How to read files in tests if files are located in resource directory, jar, or in arbitrary place? When we write tests we may store files with test data in resource directory or in arbitrary place on the disk.

Rate this:

Posted in Programming, Scala | Tagged , , , , , , | Leave a comment

sbt 1.0.0 is now available

http://developer.lightbend.com/blog/2017-08-11-sbt-1-0-0/ new release of sbt is available!

Rate this:

Posted in Programming, Scala | Tagged , , , , , | Leave a comment

Scala exercises

Nice site with lots of exercises on Scala: http://aperiodic.net/phil/scala/s-99/

Rate this:

Posted in Programming, Scala | Tagged , , , | Leave a comment

npm Package Analyzer

Sometimes You need to check if You really use all modules specified in package.json. I wrote

Rate this:

Posted in gui, JavaScript, node.js, Programming, Scala | Tagged , , , , , , , , , | Leave a comment

Functional error handling in Scala

Functional error handling in Scala alvin February 13, 2017 – 11:08am Here are a few nice blog posts on functional error-handling in Scala: – Easing into functional error handling in Scala – How do I error handle thee? – Designing … Continue reading

Rate this:

Posted in java, Programming, Scala | Tagged , , | Leave a comment

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

Rate this:

Posted in java, Programming | Tagged , , , , , | 1 Comment

How to build map from stream – examples

Java 8 suggests  nice ways to create maps from stream. You can see some code examples on GitHub: https://github.com/ysden123/ys-pjava/blob/master/basics/src/main/java/com/stulsoft/pjava/basics/stream/CollectExamples.java

Rate this:

Posted in java, Programming | Tagged , , , , , | Leave a comment

Usage of CompletableFuture

Java 8 gives flexible ways to perform asynchronous tasks. One of a such ways is usage of CompletableFuture.

Rate this:

Posted in java, Programming | Tagged , , , , , , , , | Leave a comment

JavaScript – Performance, comparison operator

What about performance of two comparison operators in JavaScript: == and ===? I wrote simple code to get answer.

Rate this:

Posted in JavaScript, node.js, Programming | Tagged , , , , | Leave a comment