What makes coding hard: Information Overload
Updated

One challenge I faced while learning how to code, is the vast swaths of information you will be inundated with just to get a “hello world” working.
In this post, I want to unpack why there’s so much to learn in programming, and some tricks I’ve learned to navigate through that ocean of information without drowning.
Why is there so much to learn?
Here’s the short version: everything in programming sits on top of something else.
The reality is that almost all of programming you do will rest upon a tower of abstractions. Over time, developers have built tools for other developers, to help them accomplish tasks easier. These tools can be broad as whole programming languages (think high-level ones like python, java, etc) or specific developer tools ie (gradle, maven, LSP’s) to make their jobs easier.
The power of an abstraction is that it hides the complexity of its implementation from its interface. This essentially means, that YOU don’t have to deal with the messy underlining details (ie. think memory managment ), only the pre-set interface that comes with it (ie. functions in library).
I cannot overestimate, how and useful pervasive this pattern is in programming. Abstraction allows programmers to build incredibly complex systems without ever needing to understand every zero and one running underneath.
So, if abstractions are so great, why do they make programming so hard (for beginners)?
Why abstractions make things hard
- Abstractions make it easy to learn nothing
When you’re just starting out, abstractions can trick you into thinking you understand more than you actually do. You can copy-paste a few lines from Stack Overflow (or an LLM, lets be real), run your code, and boom: it works!
But you don’t actually know why it worked, or what might break the next time you change something.
2. Not all abstractions are equal.
Another issue is that not all abstractions are equal. Some are black boxes you can safely ignore; others hide crucial details that determine how your program behaves. Knowing which is which takes time, and that’s where most of the heartache comes from.
Knowing when to go down the rabbit hole
For example, here’s a an issue I had:
When I first started working with Spring Boot, I ran into my build.gradle file. It was full of dependencies, plugins, and magic incantations I didn’t understand. Should I have spent hours trying to learn how Gradle injects dependencies under the hood?
no.
Did I?
yeah :(
If your goal is to build a simple web app, learning every inner detail of Gradle is a poor use of time.
But… if you’re trying to understand how dependency injection frameworks actually wire your code together, that’s a different story.
How to deal with information overload?
Firstly, Here are a few quick questions you can ask to figure out if you are going down a the abstraction rabbit-hole:
- How long will it take me to understand this?
- What do I actually gain from learning it?
Secondly, understand the fundamentals . The stronger your grasp on the basics, the easier it becomes to tell what’s important and whats just noise.
Third, just ask chatGPT. (Lol i’m joking, I did this a lot in the beginning).
“I’m a beginner building X, and I’m learning Y. How deeply do I need to know Y to finish my project?”
Conclusion
This post isn’t meant to say you should suppress your curiosity, in fact, that curiosity will make you a better developer But you do have to know when it can lead you into dangerous territory. Stay curious, but stay safe, coders!
(Note: I’m well aware that using the word ‘abstraction’ pretty loosely in this post, for the sake of illustrating my point)
Originally published on Medium.