Monthly Archives: October 2017

Java – Guidance of using wildcard in generic

The basic guidance of using wildcard in Java generic https://docs.oracle.com/javase/tutorial/java/generics/wildcardGuidelines.html Advertisements

Posted in Java, Programming | Leave a comment

C++11 – Monoid, Functor, Applicative Functor and Monad

How CPP express Monoid, Functor, Applicative Functor and Monad. The below documentation shows a good explanation. https://github.com/boostcon/cppnow_presentations_2016/blob/master/00_tuesday/monoids_monads_and_applicative_functors_repeated_software_patterns.pdf

Posted in C++, Functional Programming, Programming | Leave a comment

Python – HTTP send a JSON object and decoding example

Posted in Programming, python | Leave a comment

Scala – ~> [Tilde arrow] explanation

“~>” is a place holder for type. Main reason to use “~>” is to make readable on type A goes to type B. This is possible because Scala allow to express in in-fix notation for pre-fix expression. is equivalent to … Continue reading

Posted in Programming, Scala | Leave a comment