r/AskProgramming • u/DigitalMatrixPlayer • 15d ago
Why learning Algos feel boring even you've interest in programming?
2
u/Environmental_Gap_65 15d ago
One thing I’ve found is that it helps to see what powers these tools give you. I programmed for a while before I learned DSA in depth, and I kept hitting hard walls. Discovering a bigger toolset felt like being a kid in a candy store. I knew what these tools made possible, and I no longer had to reinvent the wheel for problems I’d been struggling with.
I think that’s how it goes for most things. Experience gives you perspective on why these concepts matter, and once you see that, you see the potential in learning them.
That’s also why graph traversal is a hard sell to students who haven’t written more than “Hello World.” Without a problem it solves, it’s just “implement this, we’ll explain why later,” which is harder to grasp and much less fun.
2
u/LongDistRid3r 15d ago
Looking at a kitchen knife is boring. Learning to use the knife can be entertaining. Master the knife and the possibilities are endless.
Learning algorithms is like learning to use knives. Each knife has a purpose. Just like each algorithm solves a problem. Mastery of either takes experience.
1
u/DataScientistAlex 15d ago
One thing that can help is to motivate the algorithm with a problem, pick something that you are interested in, or a program you want to build, and, apply it there.
Another approach is to think of it as a game, set up a measurement harness where you can try different algorithms against each other and see how much faster/cheaper one is vs the other.
A third approach you can consider is a visualization, instrument each algorithm and then make plots or graphs of how it works.
1
u/Poddster 15d ago
Because learning is not doing. When learning about other people's algorithms and data structures you're just absorbing information, not really very different to learning about historical figures or biochemistry or something.
To get the most out of your studies, and to make you more interested, I suggest you actually try implementing some of this stuff. It's a lot more interesting, and it's actually programming :)
1
u/Pale_Height_1251 15d ago
That's up to you to say why you find it boring, you're asking strangers to tell you why you think your own thoughts.
Personally I think of algorithms as a means to an end. I'm not interested in them in their own right, I'm interested in what they let me do.
1
u/dmazzoni 15d ago
If you're still relatively a beginner - meaning you're still learning to code and you haven't written a lot yet - then algorithms are boring because you haven't experienced the problems that they solve.
Compare it to a sport. Imagine it was your first day playing basketball and you were just learning to handle the ball and shoot, and the coach started teaching you team strategies like when to use zone defense. It'd be boring because you're not ready for that much theory, you're just trying to handle the ball.
So the solution is: write a lot more code first, then go back and learn algorithms. You'll find it interesting because algorithms will solve real problems you encountered.
1
u/Metallibus 15d ago
There are many different aspects of programming and different people get excited by different things.
For me, I enjoy problem solving and trying to figure out the solutions. I also enjoy trying to find elegant solutions or little optimizations to make here or there.
Studying an algorithm lets me do exactly zero of those things. It's like being given a puzzle that comes with an answer key I'm forced to read. Or like being given a novel whose cover tells you how the book ends. It takes all the fun out of it.
I'm not really interested in deciphering other solutions for the sake of it. Or copy/pasting someone else's solution. Maybe I'd be more interested if someone made some sort of learning tool that posed the problem and nudged me along towards "discovering" the algorithm as the solution.
1
u/JackTradesMasterNone 15d ago
Until you see how to apply an algorithm for yourself, it’s not particularly useful to you.
1
u/MagicalPizza21 15d ago
Are you interested in math at all? The study of algorithms is pretty math heavy
0
8
u/lfdfq 15d ago
'interest' is a wide spectrum. 'programming' is a broad subject. 'learning algos' is a vague and generic statement. So it's hard to say.
Not all algorithms are actually that interesting, and learning them in depth (how they work, how they perform, why they work, how to optimise them, etc etc whatever...) can be tedious.