← All Logs
Saturday, January 31, 2026

Day 2: Containers of Intent - Vectors, Bitwise Sorcery, and the Backend Awakens

C++Javascript

The second day of any journey is where the romance of beginnings meets the reality of repetition. And yet, today offered no tedium - only revelation.

C++ unveiled its sequence containers with the quiet confidence of a craftsman displaying his finest tools. The vector - that dynamically resizing array I thought I understood - revealed layers I had never considered. The distinction between resize()and reserve() is not mere semantics; it is the difference between asking for furniture and asking for a room large enough to hold it. One changes size, the other changes capacity. Conflating them is how memory gets wasted and performance bleeds.

Meanwhile, JavaScript continued its parade of peculiarities. Bitwise operators emerged from the shadows - AND, OR, XOR, shifts - and with them, the revelation that permissions systems, feature flags, and countless optimizations hide behind these humble binary manipulations. The nullish coalescing operator ?? distinguished itself from its older cousin ||with surgical precision: one fears all falsy values, the other fears only the void of null and undefined.

Two languages. Two philosophies. Both sharpening the same blade.