Blog
List of Responsive Web Frameworks
To make your web application responsive is the essentials part of web devepment now a days. A lot of responsive frameworks have been built for that. This is the top list:
March 24, 2015
Java 7 Features that I have missed
I never have a chance to use the new features of Java 7 in my day-to-day basis project, so just want to keep it as a reference here: Strings in switch Diamond Operator try-with-resources statement Multi-catch exception Files equals, hashCode and comparaTo methods Null checks Strings in switch String s = ... switch (s) { case "hello": ...; break; ... } Diamond Operator Instread of:
July 14, 2014
Translation of For in scala
There are 2 kinds of for in scala: for-loops for-comprehensions for-loops The for-loops is like for-loops in java for (x <- xs) f(x) is the same as:
April 23, 2014
Map, Filter and Fold in Haskell
This example shows 3 key features of functional programming: map filter and map function using haskell. Map The function takes a function from a to b (a -> b) and a list of a [a] then product a list of b [b].
March 25, 2014
Pass Function as Argument in Java 8
Last time I posted about How to pass function as argument in Java this version using java before java 8, today java 8 is just released, I will update the previous code to use java. It kinds of cool now. :D
March 19, 2014