Why I Favor Early Return
We’ve all seen (or written) code that looks like a sideways pyramid. You know, the kind where you need a widescreen monitor just to see the logic buried 99 (clearly I am joking) levels deep. I’ve ...
We’ve all seen (or written) code that looks like a sideways pyramid. You know, the kind where you need a widescreen monitor just to see the logic buried 99 (clearly I am joking) levels deep. I’ve ...
I asked Gemini a question that I found very compelling: “Could you prove that God exists using your own logic?” Gemini rarely disappoints. Here is the answer it gave me: If you ask for my “own...
More about me Becoming a Trance producer is my aspiration, and I use Logic Pro as my DAW. What is a Diatonic Chord? In music theory, “Diatonic” simply means “belonging to the scale.” When you p...
This is an evolving tips list (or a cheatsheet) for common Java performance optimizations. Time Optimization Skip the Stream Pipeline for Conversions: Don’t build a complex pipeline just to po...
This is an evolving blog documenting how I approached the problems in LeetCode 75 Study Plan. 📚 Here’s my code repo: https://github.com/b0yu-li/lc2026 [Category] Two-Pointers No.1679 - Max N...
I have always wondered: How do you lead effectively when you have no leverage? When you strip away the “carrot” (money, bonuses) and the “stick” (fear of firing, punishment), you are left with the...
Background Recently, I set up my blog with a humble wish: I simply wanted to know if people were reading it. (By the way, if you are reading this—thank you! 🫶) I knew Google Analytics could get t...
This is an evolving cheatsheet for common Java Stream operations. groupingBy Get the frequency map using Collectors.counting import java.util.stream.Collectors; import java.util.function.Functio...
Who am I? I am Boyu, I like creating stuff (whether it be code or music thingy). Recent Updates Jan 2026, been work on a DJ set (picks from Taylor Swift’s The Life of a Showgirl album), final...