0 to 1
Sharing my thoughts on what I learn, while I learn.
nums.size() vs int n = nums.size() in a For Loop: Which One Should You Actually Use?
Aug 2026
Why caching nums.size() into an int isn't about speed. It's about dodging an unsigned-integer wraparound bug that only shows up the moment your input is empty.
NULL vs Empty String: Why "No Data" Isn't Always the Same Thing
Jul 2026
NULL and '' both look like "no data" at a glance, but they answer different questions, and mixing them up quietly breaks aggregates, filters, and BI tools.
Slowly Changing Dimensions (SCD): What They Are and How to Actually Choose the Right One
Apr 2026
A practical walkthrough of SCD types 0 through 6, and a simple decision tree for picking the right one instead of memorizing all of them.