somusblog.hashnode.dev04_Numbers in PythonIn lower-level languages like C or Java, a number is often just a direct mapping to a processor register (a 32-bit or 64-bit block of memory). In Python, however, numbers are abstractions—they are fully-fledged objects allocated on the heap. We’ll di...Jan 25·10 min read
somusblog.hashnode.dev03_Understanding Variables: Labels vs. Boxes ExplainedIf you are coming from languages like C++ or Java, Python variables are probably gaslighting you. They look the same, they use the same = syntax, but they behave completely differently under the hood. I realized I had the wrong mental model. In Pytho...Jan 11·4 min read
somusblog.hashnode.dev02_The “Mutable Default Argument” Trap (and Why It Happens)If you’ve been coding in Python for more than a week, you’ve probably heard the golden rule: “Everything in Python is an object.” But here’s the catch that confused me early on:some objects are chill and let you change them. Others are stubborn and...Jan 8·4 min read
somusblog.hashnode.dev01_Python Under the HoodWhen I first started writing Python, I often heard it described simply as an "interpreted language." I imagined the computer reading my code line-by-line and executing it on the fly. While that’s not entirely wrong, it is a massive oversimplification...Jan 8·5 min read
somusblog.hashnode.devIntegrating Web-Tree-Sitter with Next.jsIntroduction Building developer tools, code editors, or syntax analysis features in web applications requires robust parsing capabilities. Tree-sitter, originally built for editors like Atom and Neovim, provides incredibly fast and accurate increment...Dec 12, 2025·9 min read