Jackson API is an open source tool for processing JSON data. This post gives the example how the API is used in tree model mode
Tradeoff between explicitness and flexibility in unit testing
Sometimes, I find it quite not flexible to write a test that require input string in a specific format e.g. JSON string. I prefer wrapping it in a builder class to sacrifice explicitness for flexibility.
Simplify code with refactoring
I am sharing my experiences in code refactoring with my team members. I have shared some of the pattern that I have been using frequently. I will also share it here so I can use it as a reference in the future
Selenium Page Objects and Abstraction
Last Friday, I explained the concept of Selenium Page Objects to my colleague and I feel like I didn’t explain it in a simple way enough. I have spent some time today to come up with explanation that relates the page object pattern to the concept of abstraction in programming
Simple explanation for inner join and left join
The inner join is for filtering out unwanted records and left join is for pulling in extra information
Java Deflater and OutOfMemoryError
Summary: Relying on Finalizer to clean up native memory of Deflater object may cause OutOfMemoryError
The Answer Lies Elsewhere
A lesson my former group leader taught me is that don’t put all investigating effort toward only one direction and keep looking for other possible root cause
