llllzllllUnit Testing GuidesI’ll use this article as an opportunity to share what I’ve learned about writing tests from my daily work.Nov 19, 2022Nov 19, 2022
llllzllllStacked Pull Requests with GitHubWhen working on a large enough project, we sometimes want to split a large task into smaller ones, while there are some dependencies among…Jul 29, 20221Jul 29, 20221
llllzllllIs Square Really Not a Rectangle?A quote from wiki about Liskov Substitution Principle claims that:Aug 10, 2021Aug 10, 2021
llllzllllMongoDB Java Driver for PolymorphismWhen using MongoDB with a strong OOP language like Java, it’s a no brainer to want to hack the MongoDB Java Driver to serialize data to…Dec 7, 2020Dec 7, 2020
llllzllllHow to Mock a FileInputStream/ <any>Stream in Java?TL;DR: When you are having questions like this. It’s very likely that you are not following Dependency Inversion Principle closely. And my…Oct 10, 2019Oct 10, 2019
llllzllllReference and Ownership in Rust by ExampleRust community has elaborated the concept of reference, ownership and lifetime more than enough. Even after reading tons of resources…May 6, 2019May 6, 2019