My Notes (4)

Wait... Next.js just handles routing automatically?
Thursday, April 17, 2025 at 11:14pm

After living in standard React-land for the longest time, I finally decided to dive into Next.js today. I am genuinely in shock. Remember spending an hour setting up React Router, configuring layouts, and debugging broken links?

In Next.js, I just created a file inside the `app` directory and it just... worked. File-based routing is wizardry. Don't even get me started on how easy Server Components make fetching data without writing a million `useEffect` hooks. I feel like I've been doing web dev on hard mode this whole time.

Wait, if JavaScript runs on the web, why do we need React and Express?
Thursday, January 18, 2024 at 2:30pm

A bit of a crisis of understanding today: if standard JavaScript already runs natively in the browser, why am I spending all this time learning React and Express? They're literally just JavaScript under the hood anyway. It took me a minute to realize that standard JS is like building a house with raw wood and nails—possible, but tedious. React gives you the prebuilt UI blueprints for the front-end, and Express gives you the plumbing for the back-end server. It's all just JS, but man, vanilla JS would take forever to do what they do.

Do we actually still need OOP?
Wednesday, July 12, 2023 at 4:15pm

Spent the whole day reviewing Object-Oriented Programming concepts for a project, and honestly, I’m just confused why we still lean on it so heavily. Functional programming feels so much cleaner in React—just pass props, pure functions, and avoid all that messy state mutation and inheritance boilerplate. Is OOP actually better for scaling, or are we all just trapped in legacy habits?

Why isn't my Python code running?!
Friday, March 10, 2023 at 9:45pm

I’ve been staring at this Python script for the last twenty minutes trying to figure out why nothing is printing to the console. The logic is completely solid: `def greet(): print("Hello, World!")`. Literally nothing happens when I run the file, and I was about to blame my compiler before I realized... I never actually called `greet()` at the bottom. Note to self: writing a function does not mean it executes itself.