Monthly Archives: September 2017

Java – Covariance, Contravariance and Invariance

https://stackoverflow.com/questions/8481301/covariance-invariance-and-contravariance-explained-in-plain-english Advertisements

Posted in Java, Programming | Leave a comment

Scala – Higher Kinded Type

https://stackoverflow.com/questions/6246719/what-is-a-higher-kinded-type-in-scala

Posted in Programming, Scala | Leave a comment

Scala – By Name Parameters

Syntax: => A By Name parameter will be evaluated when called

Posted in Programming, Scala | Leave a comment

Scala – conversion from for-comprehension to map, flatMap

Posted in Programming, Scala | Tagged | 2 Comments

FP – expression vs statement

Expression: by combining value and function, it will generate the value with some possible side-effect Statement: standalone unit of execution without returning anything. Normally it has side effect. More information: https://fsharpforfunandprofit.com/posts/expressions-vs-statements/

Posted in Functional Programming, Programming | Leave a comment

Cassandra – import snapshot tables(column family)

The following command will import a table(column family) to the destination Cassandra node.

Posted in cassandra, Programming | Leave a comment

SHELL – tmux configuration example

Posted in Programming, tmux | Leave a comment