256 Tips for Junior Devs Profile Image
256 Tips for Junior Devs
16 days ago
10
5.1K
8
351
Tip 212: Learn Programming Languages to Think in Programming Languages Why learn programming languages at all? Isn't it all the same now that we don't write code by hand? Let's just chat with an agent and let it use whatever language it prefers. No. Even though we do not write code by hand, we must learn programming languages. Because we need to THINK in programming languages. It all comes down to mental models. Consider arrays. In the C language, when you think of an array, what comes to mind? Stack vs. heap, malloc(), pointer traversal... you're thinking about memory layout and where each byte goes. That's your mental model. How about Python? What would be the building blocks of a mental model of a Python list? List methods, list comprehensions, generator expressions -- all those fun Pythonic things. Do you care about bytes in memory? Nope, you don't even know how many bytes your list takes (and you couldn't care less). Okay, an array/list mental model is a simple one. And yeah, you won't be writing listcomps by hand anymore (sad, but true). But these are building blocks for your thinking, and the language shapes those blocks. A kernel driver written in Rust vs. an ERP backend written in Java? Two very different mental models. Java lets you think about objects and methods and how they map to business rules. Rust forces you to think about memory constraints (who owns this memory -- that's very Rust). For each system, the language gives you a way to think about it. And this is the real difference between a vibe coder and an engineer. A vibe coder does not have a mental model of what's going on. An engineer does. In 1982, Alan Perlis wrote: "A language that doesn't affect the way you think about programming is not worth knowing." As agents write code for you, thinking stays (and will stay) with you. Learn programming languages to think in them. #256tipsforjuniordevs #juniordeveloper #csstudents #programminglanguages #programming
Download video without watermark
original sound - 256 Tips for Junior Devs
•
76s