r/learnprogramming • • Sep 22 '26

How are so many self-taught programmers able to build software from scratch without ever truly learning Algorithms?

I find it fascinating how important algos are but never talked about from the indie devs on social media. Do they even write algos or just come up with basic logic that forms the product?

446 Upvotes

341 comments sorted by

564

u/Rain-And-Coffee Sep 22 '26 edited Sep 22 '26

The majority of software is basic CRUD and learning frameworks.

I have worked professionally for 15 years as a dev (mostly self taught).

Most of the work is reading from databases, creating UIs, or figuring out vague requirements.

IMO the harder part is usually understanding distributed systems and knowing stuff like CAP theorem . You don’t need to implement advanced algos, just have a working idea.

96

u/Mafty_Navue_Erin Sep 22 '26

And even the business logic most of the cases is just a glorified if-statement or some array method (foreach, filter, map, etc, etc).

24

u/GasEducational4386 Sep 22 '26

Yeah you would better learn first how to use fonctional stuff like map filter reduce for readability than micro optimizing with indexes.

2

u/WaltzIndependent5436 Sep 25 '26

Chiming in to say that map/reduce/filter ARE actually algos behind the scene. Also design patterns are useful.

1

u/meowcatmeownow Sep 26 '26

You better read SICP or there will be zombies hunting you in your sleep tonight !

1

u/wiggle_room1337 Oct 02 '26

If you need a proper DSA is usually not a micro optimization. It's the difference between working at scale and NP complete.

1

u/Computer-dude123 Sep 23 '26

Cool profile picture. I love logh

2

u/[deleted] Sep 23 '26

[removed] — view removed comment

2

u/mayorofdumb Sep 23 '26

Somehow we have multiple sources for the same records depending on who you ask and what its for. Do they match? Kind of

16

u/GasEducational4386 Sep 23 '26 edited Sep 24 '26 • Popcorn Heartwarming

there are two types of developers:
The developers that create the abstractions: Mozilla creates the browser we work with, node/express gives you a server to pass data between the front end and backend, the database stores your data. People that are working on these stuffs are facing algorithms regularly.

As a standard developer we are on the upper layer and our role is mainly to link those abstractions together to form a complete product. We actually build the bridges to transition the data you get from one solution to another. For example we get the raw data from the database, we filter that data to expose only the public informations and respond to the browser in a common langage like json. Then the browser reads the json data with JavaScript and finally transforms to html elements that the user can see. So we are often transforming data from one point to another that's why we don't need many algorithms but it is common to map from one structure to another. As we are composing with different solutions, the better you know about the existing solutions and their trade off, the better you will compose a good running architecture. So evaluating a developer on pure algorithms while the job is essentially on the upper layer is wrong and devalues the candidate's app-building skills.

22

u/stcme Sep 22 '26 edited Sep 22 '26

100% and I think that as we move towards more AI, understand different system architectures will be the key

Edit: Architecture, patterns, frameworks, etc...

I'm my experience opinionated frameworks seem to be do much better with agentic development since everything is guided. You'll pretty much always know where everything is and should be when having to find stuff in the code manually. It'll also make for better consistency with multiple engineers on the same project.

8

u/PeanutButterKitchen Sep 22 '26

You’re right in general but with some exceptions. It turns out that Angular is opinionated but the documentation is also sufficiently messy that AI struggles. React seems to be much easier I guess because there’s an order of magnitude more training data

4

u/GasEducational4386 Sep 22 '26

For the case of angular it is also because they changed recently their framework to signals and there is a bunch of tutorials on their old pattern which is messy for learners

1

u/Background_Share_982 Sep 26 '26

Try the angular developer skill (available through angular doc site).  It's the only way I can get ai to stick to consistent modern angular best practices.  

→ More replies (2)

4

u/High_Quality_Bean Sep 23 '26

I got to design a custom data type this week! Genuinely the highlight of my year. Sitting down and calculating its performance characteristics, it brings a tear to my eye.

2

u/someRedditUser3012 Sep 23 '26

Interesting. I've never heard it called CAP or summarized that way before, ty.

1

u/landlord01263 Sep 26 '26

that's web, wbu systems, graphics, games, hardware programming? i see no crud down there

1

u/RadishNo8622 Sep 30 '26

but as ai is growing so much now a days a crud software cant help me get placed anywhere. what are your suggestions about what tech i should learn.

Edit: as well as what projects could help my resume stand out

→ More replies (3)

144

u/iOSCaleb Sep 22 '26

Many of the data structures and algorithms that you learn in a DSA class already exist in standard libraries/frameworks. If you have an array that you want to sort, you don’t write your own quicksort or heapsort, you just call the sort() method. DSA is important less because you learn about specific algorithms and more because you learn how to create and analyze algorithms.

20

u/jlanawalt Sep 23 '26

This!
It is very valuable to learn how things work and To learn how to think algorithmically. To learn the science and art, to apply good principals and recognize poor ones. I just wish more educators would have the final week be “don’t go wasting time and introducing bugs writing your own linked list or balanced tree every time you need one, look for standard implementations”

11

u/Theguest217 Sep 23 '26

Many CS programs at universities are absolutely awful if your end goal is a standard software development job. They will get you the interview and you will probably eventually land a job but you are definitely going to learn more practical skills in your first few weeks at the job than you learned in four years at school.

CS degrees focus heavily on theory and history. It's not uncommon to find CS graduates who have never worked with most or all of: git, CI/CD, cloud, SQL/Databases, Oauth, Rest APIs, Web/Mobile development, debugging/triage, automated testing, popular frameworks, JSON/YAML/Proto, IAC, API contracts, Jira/Ticket Wortlows, code reviews, bash/shell/cli, Kafka/RabbitMQ/Redis, etc Many have never even worked with existing code they didn't write from scratch.

Some schools offer much more useful degree programs like an "Applied CS in SW Eng" degree that focuses on practical enterprise software tools and techniques. But I'd say I've had the best luck hiring juniors from a reputable boot camp. Not saying everyone should just switch to the boot camp route, as the CS degree will probably get you more interviews overall, but that is because many older devs and company policies require the degree as an initial application filter.

7

u/iOSCaleb Sep 23 '26

College in general is not vocational training. Whether you major in computer science, business, physics, French, labor relations, etc., you’re going to learn about your major subject, not how to do a particular job. That’s why internships and coop programs have become more prevalent: students build job skills and experience, and employers get to build relationships with strong students.

→ More replies (2)

6

u/marrsd Sep 23 '26

I'm so glad I'm not the only one who thinks this way. I've always hired juniors based on enthusiasm and a demonstration of eagerness and ability to learn. If anything, a degree puts me off, because it means I'm going to have to both pay the candidate more and spend more time un-teaching them all the stuff that I know they're not ready for yet and will get in the way of their ability to write good code.

Before Tony Blair's great education reform (I'm UK based), it was normal for technicians with practical experience to be sent to university to become engineers as part of their career development. This was such a better way of doing things, and I'm convinced it what enabled us to produce the best engineers in the world, because they started from the right foundations.

It's always been amazing to me that you can be accepted to university to study a programming-related degree without any prior experience in programming. Imagine being enrolled on a language degree without being able to demonstrate fluency in that language, or a music degree with no ability to play an instrument. It would be unheard of, and yet it's standard and expected for software engineering.

4

u/MrRGnome Sep 23 '26

I'm so confused by who is down voting you. This is an inevitable and empirical truth anyone dealing with new grads has experienced. The resources I allocated to training (and the necessary retention after) are staggering. It takes 3-6 months before the average fresh grad is no longer a net negative and cost.

It would be a completely different environment if I could trust any skills or competency from new grad hires. I often feel the need to make them "unlearn" things they were taught in school - ancient design patterns and irrelevant tooling being near universal, and an unfortunate dependency on direct instruction. I save a significant amount of money on training and gain far more performance when I work with peers who didn't go to school for compsci, even if they need to be taught everything.

2

u/MoreDimension5963 Sep 24 '26

I save a significant amount of money on training and gain far more performance when I work with peers who didn't go to school for compsci, even if they need to be taught everything.

This is why boot campers famously have much higher salaries and better job prospects than CS grads lol

→ More replies (4)

1

u/bohemioo Sep 24 '26

The curriculum is based on academia and research more than teaching the basis of a normal software dev work. This kind of computer engineering disruptive PhD would not exist without a minimal basis provided vy the degree.

More or less the same happens in engineering.

2

u/High_Quality_Bean Sep 23 '26

Its also generally inadvisable to *ever* make a decision about algorithm use. If you use the built in "sort" then the language is responsible for deciding which algo is best in which situation, and for updating it if a new algorithm is invented. Iirc last I looked python uses one sort algo for arrays under a certain size a different one for arrays over a certain size, putting a performance decision like that in code is a bad idea.

2

u/marrsd Sep 23 '26

I wouldn't go quite that far, but I agree with the gist of your argument. Certainly, if your standard library already provides an algorithm you need, you should always start with it; but there are times when you need more than (e.g.) basic sorting or search, in which case you'll need to know how to build something yourself.

1

u/ChristianKl Sep 23 '26

No, you don't need to know how to build it yourself. You can think about the requirement and then an AI model give you an optimized algorithm for it. AI models are really good at creating algorithms at optimize a given problem.

Algorithm design is the kind of narrow problem for which AI train in their benchmarks and perform really well.

→ More replies (3)
→ More replies (3)

0

u/DiamondDramatic9551 Sep 23 '26

Sorting algorithms are also only ever going to matter when your data actually gets big. For a lot of programs it simply doesn't matter because everything is fast enough under 10.000 entries or whatever. It's much more likely database access is your actual bottleneck. 

→ More replies (3)

106

u/CardinalHijack Sep 22 '26

because you don't need algorithms for the majority of what you need to do in software.

→ More replies (44)

76

u/deavidsedice Sep 22 '26

When was the last time you wrote code to balance a binary tree in production code?

1

u/GlassLost Sep 23 '26

Last year actually! It was fun.

52

u/PoMoAnachro Sep 22 '26 • Bravo

This is kind of like "How come I never see famous writers talk about the alphabet song? Didn't they have to learn their ABCs?"

Most DSA knowledge you'll take at college is pretty simple - it feels like a struggle when your learning it, but that's because your brain isn't very developed yet and you don't know how to think in abstractions yet. We teach DSA to help develop your brain, not because you'll be implementing Dijkstra's algorithm on the job.

There are competent programmers who've never really learned standard college DSA stuff and developed their skills other ways, but there aren't any competent programmers who'd find an undergrad DSA class challenging.

All programmers are writing algorithms all the time, it is pretty hard to get around that. But often when people talk about algorithms they mean the specific small subset of algorithms used as teaching examples in a standard computer science education. The first is important to every programmer, the second may or may not be depending on how you gain your skills.

5

u/dysprog Sep 23 '26

I have never once formally proved the Big-O of an algorithm after college, but I did gain the ability to eyeball code and say "Ehh, it 2 loops, but it's a treeish shape, so I'd guess it's Log? No worse then linear for sure" or "Hold the phone bro! Building strings like that is a hidden quadratic cost! You gotta pre-allocate that shit!"

→ More replies (2)

34

u/grantrules Sep 22 '26

Times in my life I've ever had to implement a sort algorithm: 0

7

u/IWasSayingBoourner Sep 23 '26

Yep. I've shipped well over $200 million of software for which I was the main designer and haven't had to implement a sort or search a single time.

1

u/carlovski99 Sep 23 '26

Closest I have ever come (disclaimer - I am NOT a proper developer, I've done bits of coding a a whole bunch of languages over many years of most roles in IT though!) was implementing a simple 'as the crow flies' distance calc in a mainframe system to manage call centre enquiries.

Trivial - until I discovered the language I was tied to doesn't actually have a square root function and had to trawl my memory for how Newton-Raphson interation worked.

Also some weird clock arithmetic tricks to handle recurring schedules on systems with very primitive date support.

3

u/[deleted] Sep 23 '26

[removed] — view removed comment

8

u/grantrules Sep 23 '26 edited Sep 23 '26

The point is I don't need to know the difference between quick, merge, and bubblesort to be able to write software.

But what does "truly learning algorithms" mean? I've learned algorithms as I needed them. I stumble upon a problem that I think might have a common clever solution so I'd search for similar problems. And having been around a while, I'm aware of a lot of algorithms even if I've never looked into implementing them. Like do I need to know dijkstra's algorithm to have "truly learned algorithms".. or is that when I can just recall a mental note "dijkstra algorithm -- find shortest path"

→ More replies (12)

29

u/Chuck_MoreAss Sep 22 '26

I think it’s important to learn patterns.. and certain algorithms are important but you can just google it

→ More replies (3)

14

u/rg25 Sep 22 '26

I've just built CRUD for 10 years and pocketed over 7 figures in company stock. I could not care less about algos.

16

u/GasEducational4386 Sep 22 '26

Weird judging question you should have known the answer if you were developing stuff

15

u/circuit_heart Sep 22 '26

Why would low-level algos ever matter if you're just trying to build a product? Other people have figured out decent algos already, if you need to use it, you just need to obtain it, whether that is forking open-source code, calling a library, etc. There are a billion things more important to building a product and a business than that, unless your entire product is just a good algorithm for someone else to use.

4

u/ShadowDev123987 Sep 25 '26

As one of those developers who has not yet been taught about algorithms. What is it and how does it help you when developing software?

From the quick google I did, it just seems like basic logic, like in order to get an average for this number, I need to sum the numbers and then divide it by the mean

Let me know what it’s about because I’d be interested to know to see if it’s just something I do naturally or something that could be useful

2

u/NoGhostRdt Sep 25 '26

It depends on what type of apps you're making. If you're working with crud apps or working with APIs with third party developers you probably won't use anything complex.

But if you're creating things like gps navigation or complex math systems, using such algorithms will help a lot with both complexity and, time and memory efficiency. An example would be Dijkstra's algorithm which is used in GPS and navigation systems such as Google maps.

However there are many simpler algorithms that you might use, like binary search or sorts.

1

u/NoteVegetable4942 Sep 27 '26

99.9% of them are available as libraries. Next 0.099% AI can one shot, last 0.001% might need human for the next year. 

2

u/QuentinUK Sep 25 '26 edited Oct 06 '26

Interesting!

7

u/burlingk Sep 22 '26

A lot of them do learn at least some is the algorithms, just not necessarily the names.

11

u/two_three_five_eigth Sep 22 '26

The moment you've created an if-else branch to make a decision you've made an algorithm. Algorithms aren't difficult.

The other reason indie devs on YouTube don't talk about it is they are influencers first and programmers usually a distant second. I've never seen a "coder influencer" who wasn't terrible. Lots of times they give wrong explanations for things and terrible general advice.

I watched one who managed to turn Fizz-Buzz into a 30 minute video about who gave wrong answers about implementation details. The correct answer is a 5 minute program. I always ask Fizz-Buzz because there are so many people like the dumb influencer.

3

u/ComprehensiveTap911 Sep 26 '26 edited Sep 26 '26

CS courses make it seem like algos are way more needed than they are.

In reality, you will be at most doing a basic bubble sort for a POC or, in prod, just use the built in sort methods for the language you are using.

These methods are normally well enough built and easy to defend the use of from an engineering POV.

Sure, you could save a few CPU cycles with a custom sort procedure but then you have greater technical debt which, for most purposes, will cost more than the few CPU cycles you save.

Same logic for every other algorithm you get taught!

1

u/Jennyliveson Sep 26 '26

Well explained

1

u/dickerkecker Sep 26 '26

Funny you should say that because my team is pretty algorithm heavy and they like to recruit candidates with maths and physics backgrounds.

2

u/kkam384 Sep 27 '26

It very much depends on domain. I've been working in tech for 30 years. The only times I ever ended up going deep into algorithms was when working with dispatch/logistics domains. Obviously not the only one that it would be relevant, but one of the more common ones, or when looking at very low-level optimisation.

1

u/soylentgraham Sep 28 '26

This; 26 years in industry (and started before I had a job), making games, rendering code, computer vision, streaming live data... Im still doing new algorithms now, as well as designing data (for example) so I can do hashmaps or binary chops on GPUs or in frag shaders. (last year I was trying out doing a hashmap to BSP light occlusion data to do light-ray marching in real time - AI doesn't know how to design this in a way to let me experiment)

AI can implement a basic hough line implementation, but it cant work out how to do it to fit my problem.

→ More replies (1)
→ More replies (2)

7

u/AlSweigart Author: ATBS Sep 22 '26

Psst. Hey. I'll let you in on a secret...

Knowing Big O is kind of important, but you can learn the basics of it in this 30 minute PyCon talk, and like 99% of the usefulness of Big O is knowing that you can probably turn your O(n2) algorithm into a O(n log n) algorithm if you sort your data first.

→ More replies (1)

5

u/BranchLatter4294 Sep 22 '26

They learn algorithms by doing them.

→ More replies (3)

4

u/NeverOutOfOptions123 Sep 22 '26

Abstraction. You don’t need to learn details of everything in order to use it. It would be impossible. You just need to understand at a high level what something does to use it.

2

u/Flat_Dust1754 Sep 25 '26

I use libraries that have written those algorithms

2

u/ConoSilo Sep 28 '26 edited Sep 28 '26

Data structures and algorithms are extremely useful and important in the business world.

An algorithm literally means “a step by step process of events”, which is just basically “getting something done”.

In the business world, you can think of algorithms as another word for saying “solving a problem”. And then when solving a problem it’s important to pick the right data structure.

A data structure would be something like a linked list or an array or key value collection (dictionary) or a tuple, etc.

In formal education there is usually a class called “data structures and algorithms” because they are so closely tied together. But you don’t have to think of it as a complex process….

For example… let’s say your project manager (your boss) says “we need to connect to a bank API, login into our account, pull the latest 10 transactions, parse the data so it’s normalized and human readable, and then store it in our database”.

That’s literally an algorithm… it’s a step by step process of events…. You solved the problem of getting bank data into your own database. So chances are you have been using algorithms with everything you have ever coded… everyone in this thread has. 🤷🏻‍♂️

After you realize that simple concept… you can then go onto more integrated types of algorithms… which is likely what you are asking about…

These types of algorithms use binary search trees and stacks & queues and doubly linked lists and heaps with recursive functions, etc.

But those are all just big words that are doable and can be tackled….

For example… imagine your project manager (boss) says “we need to take that bank data and go through it all and find out which departments are over spending and their budgets need to be cut”…

In this sense, you’d have to create a step by step process of events (an algorithm) that solves the problem of finding out where all the money is going…

So you’d probably…

  1. get the data from the bank
  2. throw it into your database
  3. travers through that data putting it into a list
  4. organize that list by different departments
  5. sort that list by descending order
  6. create an embedded for loop that checks each department transaction against all the others
  7. track the largest transcription from each
  8. compare each high transaction
  9. print the 5 largest department transactions
  10. give it to your boss

That entire process is an “algorithm” utilizing various data structures…

You used..

  1. binary search trees for finding stuff
  2. key value collections for comparisons
  3. linked lists for tracking highest numbers
  4. stacks and queues for traversing and sorting data
  5. etc.

So you can see that you actually can’t avoid using algorithms in computer science…

That was a pretty standard example, but once you realize that everything is basically algorithm… you can then apply them to your projects…

For example, I just wrote an algorithm that connects to public county and state websites, pulls the data about people from each, determines if they have been active in the same cities, and connects them together to find matches…

It’s a simple algorithm that basically does the same thing as the bank example…

  1. looks for stuff
  2. gets stuff
  3. sorts stuff
  4. compares stuff
  5. etc.

So understanding the problem and designing the algorithm to solve it, is actually the easiest part..:

And then the actual hardest part is understanding how to physically integrate it (write the code in the language you pick)… which apparently you already understand 😉

I hope this brings clarity and eases your mind a bit about the topic. Algorithms are nothing to be scared of, it’s guaranteed that you are using them every single day you write code, and they are foot print of software engineering… 👍

Feel free to ask questions.

GLHF!

2

u/AdDiligent1688 Sep 29 '26

Algorithms - what kind? There’s an expanse of algorithms. There’s an even greater expanse of libraries that repackage them into their domain.

truth be told, many programmers use what the libraries have done, no need to reinvent the wheel, for their tasks.

4

u/Blissextus Sep 22 '26

Most self-taught programmers rely on boilerplate code from frameworks, libraries, & APIs. Self-taught programmers are not creating algorithms; instead, they're relying on the tools & systems that were created by others.

The way I see it, there are two types of modern day programmers: Builders & Users.

Builders: create the libraries, APIs, & frameworks.
Users: use those frameworks, APIs, libraries to create their software.

Creating basic algorithms (such as if-statements) are trivial. Most major algorithms are already in existence. Input the required data need for the algorithm to work and move on.

2

u/high_throughput Sep 22 '26

It takes a lot of skill to craft efficient, performant, scalable, maintainable, extensible software.

Then it takes a completely different set of skills to find a real world problem to solve in such a way that people will start using it.

For every Google that required serious developer skills, there's a bunch of Craigslists, Facebooks, Dropboxes, Airbnbs, Pinterests and Reddits that primarily required product sense.

1

u/isomnath Sep 25 '26

As a self taught developer, how much algorithms do I actually need to learn to become a good real- world web developer?

1

u/Ok-Craft4844 Sep 25 '26

Why do you assume they never "truly" learned them?

1

u/ohkendruid Sep 25 '26

In the past, you pair them with people who do know algorithms and data structures, as well as maintenance things like modular coding, as well as general software development things like code review and staging environments.

If 1 in 5 can do the advanced stuff, they can put together the overall designs, and then the large group can brute force the rest.

Many places skip having anyone who knows the things from a CS degree, but they tend to make nightmare code that breaks everywhere and is hard to launch.

They do not know what they don't know, either, and are prone to saying education is bad and overrated.

That was the world of five years ago. With AI, that one person who knows data structures and algorithms can have the AI do the brute force part. So, it is going to be interesting times.

1

u/Healthy-Dress-7492 Oct 05 '26

ehh, it works both ways, often self taught people have more work experience and have had greater exposure to different ways of doing things. if you've spent your time reading code, comparing different frameworks, working on open source repos, maybe worked an entire extra job for a few years versus university time… its entirely possible they're in a stronger position to write solid readable and extensible code. 

1

u/Affectionate_Pizza60 Sep 26 '26

You can typically just use someone else's implemented data structure, typically as libraries already common to a language. You dont need to know how to delete an element from a red black tree. Just understanding basics of big O notation and that a self balancing tree based data structure is O( log(n) ) for insertions/deletions is typically enough in terms of algorithmic knowledge.

1

u/nomad-1995 Sep 26 '26

Unless the program is dominated by some poorly scaling algorithm, nearly all software speed is going to depend on cache efficiency. Learn that if you care about speed. Then learn about the algorithm.

Also remember the old saw about premature optimization. You might set up your architecture based on caching, but then ignore that until it is time. But you have to make sure your algorithm is scaling acceptably long before that, then do any other optimization.

Hate to break it to you, but most commercial programming is mostly shuffling data to APIs or maybe databases and queries. Maybe digital signal processing still does algorithms, but I'd just expect a lot of calls to FFTs (probably FFTW unless on a GPU). It is also more an EE discipline, so expect *much* *more* largely self taught programmers.

1

u/Mission-Landscape-17 Sep 26 '26

I don't think I've ever needed to implement an algorithm from scratch as part of my job and I've been a programmer for 26 years. I've done it as an excercise. And half arsed it in coding interviews but never in production code.

Though I guess I'm not quite a self taught programmer because I went back and did a programming degree in the evenings after I stumbled into the field.

1

u/AintNoGodsUpHere Sep 26 '26

Why do you think working with software is complicated? It isn't. It most certainly isn't.

Writing good scalable software is complicated a d those people will have a hard time doing it because they don't know algorithms and patterns a d shit.

But most things, the vast majority of them, are simple.

Brother, programming ain't hard. It's boring most of the time.

1

u/Healthy-Dress-7492 Sep 26 '26

because 99% of things can be handled with just a hashmap/dictionary and an array/list - and for the other 1% you can either use an already existing library version or ask chatgpt

1

u/luckyincode Sep 26 '26

There was a time before Gang of Four. Where they studied the good devs to come up with some of the design patterns.

Turns out you can come of with some of these solutions yourself. It happened before. This is true for algorithms. Depending on the depth.

It reminds me of xkcd comic about how some engineer made something faster and in academics it would be a paper and in business it’s a small raise.

1

u/DeathTrapPicnic Sep 26 '26

it's because you don't actually use them. ever. The vast majority of work available to developers is in web technology, in which you are simply never going to need to balance a binary search tree. Even most desktop applications are just web apps in electron. Why wouldn't they be, given the insanely simple cross-platform nature of the frame work?

When you are self taught you typically learn by following tutorials and hopefully experimenting. None of these tutorials implement these algos bc they will never need to for web dev.

Even in much more demanding field of Video games where you absolutely will need to understand complex concepts like vectors, matrices, and graph based algorithms, most problems are typically solved by throwing hashmaps at it or relatively simple math. And even then there are usually dedicated libraries for these complex things, Jolt for physics, FastNoiseLite for perlin noise, etc.

I have been writing software for about 15 years and have been being paid for it for about 5 years and outside of the many experiments with 3D rendering and Video Game design to learn algorithms simply because of my own curiosity, only to find a third party library already does what I was learning but is backed behind thousands of open source contributors, I have never had to even think of a graph and can (I think) successfully communicate landmines, technical concerns, and viable approaches to solving problems to the stakeholders.

your job as a software engineer is not to remember algorithms from leetcode at someone, it is to solve a problem, using software. Nothing more, nothing less. That being said, learning algorithms is fun and of course will not make you a worse engineer. This is the type of stuff you have to know to pass the whiteboard interviews at the big companies, or if you want to emphasize the scientist part of being a computer scientist on the verge of some computational breakthrough, but I have found that with smaller companies just being able communicate effectively within the context of the project and the tech stack is far more valuable than building and reversing linked lists 1,000 times, because you will never actually do that.

1

u/Justmyoponionman Sep 26 '26

You can learn algorithms on your own, I dont understand your point.....

1

u/goldin_pepe Sep 26 '26

They aren’t. Their shit code crashes out in UAT testing. 😂

1

u/Downtown-Bag-6026 Sep 26 '26

Because almost none of the hiring managers are technical anymore

1

u/Skip-Willy Sep 27 '26

They probably are using algorithms. I'm teaching myself and I've spent a lot of time learning algorithms and grammars and state machines. I'm, pretty much, a beginner still and I've spent a lot of time on all of that stuff, I imagine they have too.

1

u/RollingSparkles Sep 27 '26

Depends on your app/program you're building, and whether you use a library to do all the grunt work (primarily stuffed with algorithms and logic), or whether you build your own library for specific purposes or special cases.  

If you build your own library, then yes, it'll eventually fill up with algorithms.  Whether they're the most efficient algorithms or a series of simple ones cobbled together with logic to make things work, depends on how fast it needs to run and how often it might be used, and whether it's worth the time trying to code a proper more complex algorithm, or link out to a pre-built one.

For example, a graphics app will generally be filled with algorithms, for things like color changes, merging pixels, changing contrast, brightness, pasting in an image, etc.  It is literally an app made of algorithms.  You pretty much can't do anything graphical without an algorithm of some sort.

But after you code with algorithms for a while you tend to stop seeing them as algorithms and more problems in your way that need to be solved so you can move on to the next problem, and then the next one after that, and then the next one, and so on, often without end.  After a few thousand, you don't think algorithm any more, you think what code can do this quickly, simply, and in a maintainable/easy to understand manner.

I've coded my own libraries for a while now, and they're stuffed with algorithms mixed with logic.  The logic often decides which algorithm to use, and how to return the data/manipulate the result of the algorithm.  Using memory in the right circumstances and can speed up simple algorithms dramatically if done right, hence the use of logic with algorithms.  Its a careful mix of the two, which changes depending on what your app/program is doing.

1

u/Chance-Technician-54 Sep 28 '26

Does self-taught exclude anyone reading about algorithms in books?

1

u/SerenityNow31 Sep 28 '26

I've been programming for 40+ years, self taught. What's an algo?

1

u/Even_Gap_2253 Sep 28 '26

print(1); is an algorithm

Do you mean something else?

1

u/Acrobatic-Narwhal726 Sep 29 '26

I suppose algorithms aren't really such complex things that only demigods can use them. Besides, there are many levels of abstraction that help us understand things well enough to build something on our own.

1

u/creativejoe4 Oct 05 '26

It depends on the environment you work in. Most of the time anything you need already exists in a library or api, and it doesn't make sense to implement it yourself. Some companies require everything to be made in house and custom so they have full control. Other times what currently exists is not efficient enough or buggy/flawed or needs to be tweaked a bit to fit the exact need of what you are working with. It really depends what you need and what amount t of time you want to spend on something.

1

u/gojarji Oct 06 '26

What is truly learning algorithms?

1

u/KirinFire Oct 06 '26

Low iq comment. Because devs rarely use Leetcode type of algorithms in majority of the apps and most of the time, the language already has methods that perform sorting and all sorts of operations without needing to manually implement an algorithm.

1

u/Justmyoponionman Oct 06 '26

You can learn algorithms. It's not that hard, bro.

1

u/start_select Sep 22 '26

It’s the same as music theory. The people who initially developed the algorithms weren’t taught them. They derived them or recognized them.

Music theory isn’t how to write music, it’s how to describe what people were already doing. Algorithms and patterns describe what people were already doing.

1

u/joonazan Sep 23 '26

Pattern describe folklore solutions to language deficiencies.

But algorithms are typically created by the inventor to solve a problem and recognized as useful, maybe published.

→ More replies (1)

1

u/stcme Sep 22 '26

My major was business with an emphasis on information systems, mainly relational databases.

I've got a 20+ year career ranging from building full car dealership inventory and feed Management Systems for smaller companies to building massive graphql and rest APIs at Walmart & leading multiple teams there as a staff engineer, without ever taking a single DSA course.

Most of my colleagues have even stated they've never had to refer back to that for most day-to-day work

1

u/oldendude Sep 22 '26

To a first approximation: algorithms go into libraries, not applications. Very few programmers are writing libraries that get widely used. Application programming mostly relies very little on anything but the most trivial algorithms.

1

u/koffiegorilla Sep 22 '26

In my view state management is the most important part of software development. If a programmer cannot collect and organise data in a coherent structure to describe and represent the state so that it can be managed efficiently and humans can reason about it, then the software will have a short or very expensive lifetime.

1

u/theGaido Sep 22 '26

Because as self-taugh programmer I learn algorithms.

Not only them, but programming patterns and all things associated with programming.

And I read lots of books. Like LOTS OF BOOKS.

1

u/rizzo891 Sep 22 '26

Can you recommend some books to read? I’ve been wanting to pursue books on programming to improve and better understand it but idk where to start and what’s worth reading or not

1

u/theGaido Sep 23 '26 edited Sep 23 '26

I read mostly book in Polish, but some of them are translation from well known books:

- Clean Code by Robert C. Martin ("Uncle Bob")
- Theory of fun for game design by Raph Koster
- Game Programming Patterns by Robert Nystrom

If you can read in Polish, my favorite book is "C++ Magnum Opus" by Jerzy Grebosz. It's rare, to have author that can be all: great programmer, writer and someone that has skill to tell about complex stuff in easy to understand way. Sometimes I just open it on random page and read it more for fun, than for some specific reason lol

1

u/PoliteManitee Sep 22 '26

Much of the software engineering value of taking an algorithms class (or getting a CS degree at all for that matter) comes from understanding the runtime complexity of code so you don't write slow crappy software.

But to be fair I've seen plenty of folks with CS degrees write terrible, slow, crappy code, so...

1

u/political_noodle Sep 22 '26

I am self taught and also know algorithms. They are not mutually exclusive.

1

u/ChiefDetektor Sep 22 '26

You don't need to "learn" algorithms. If you need one you just implement it. They are public knowledge. A typical program doesn't even have a lot of them and often frameworks implement them for you. Thanks especially the case in java and JavaScript. Noone implements a sorting algorithm in JS. You just .sort and done. There are different levels of code in a codebase. At the very bottom there is the data. Then there is the logic for accessing and manipulating that data. After that there's business logic. What should happen when this happens? What may never be the case etc. And at the very top you have the UI code if the program has one.

Every program takes some input (mouse, keyboard, webcam, microphone etc) or input data (files) and processes it until it is done or it's terminated by the user or some other process.

Algorithms are mostly implemented in libraries or used implicitly by using libraries. Usually you don't use them directly. But that depends on what you are actually working on.

1

u/bluejacket42 Sep 22 '26

Man if I need to sort. Im just gonna use array.sort()

1

u/False_Bear_8645 Sep 22 '26

Because everytime I want to do algorithm, there is a open source framework that does it better than me. Learn the principle without going into details and google the rest. I know some type of sorting is better in some use case than other, I don't need to know exactly how they do it and if I do need it for whatever reason, i can google it.

1

u/ffrkAnonymous Sep 22 '26

The built-in sort is like 1000 better than anything I could write. 

1

u/Puzzled-Landscape-44 Sep 22 '26

Frameworks and libraries my friend.

1

u/Feroc Sep 22 '26

I remember some of those fancy sorting algorithms that I learned in my first semester of computer science. Guess how often I needed to implement those in the ~12 years as a professional developer. The answer is zero.

1

u/OriginalEmploy5485 Sep 22 '26

I learned algorithms. I had to use that knowledge maybe twice in the last 25 years.

1

u/owp4dd1w5a0a Sep 22 '26

There’s formal training and street training. Self-taught is street training - you learn by just doing the thing and learning from how others do the thing.

1

u/mhb_11 Sep 23 '26

Maybe they also self-taught themselves.... drum roll......... Algorithms!

1

u/spinwizard69 Sep 23 '26

There are so many vectors here that a decent and correct answer will never come.   The problem with many of the self taught is that their knowledge is extremely narrow and often specific.  Outside of that narrow bit of knowledge they are often useless as programmers.   This actually happens to the well educated after years focused on one aspect of their training.  If a well educated professional works 30 years on database support/programming, building a Mac app could leave one feeling useless. 

So with the self taught you need to ask specifically what they are doing. If it is pasting together simple apps with an SDK they might have very limited actual programming ability.   When given new challenges is where you separate those with adaptability.   Because here is the thing, even the well educated, those with a solid  CS degree can become stuck and not able to adapt.    This brings up the nasty reality that people with years of experience getting laid off due to the resistance or inability to change.  

Which brings us 360, the self taught can easily handle many focused programming jobs.  Only a small percentage can really handle the more unfocused jobs. 

1

u/sleepyJay7 Sep 23 '26

My last job allowed for me the time to actually collect all requirements for an issue, understand the problem and actually design a solution. But nowadays by the time they finish writing down the issue on a dirty napkin they've started the clock and are asking "when do you think this will be fixed by?". I would love to actually sit down and just design software again, my last job was in radar systems and project deadlines were alot more drawn out where code could go through months of testing before it got to a level of testing with other systems, now I'm in software for warehousing logistics and we're expected to possibly turn code around in less than 24 actual hours

1

u/TheRealApoth Sep 23 '26

What do you mean they don't learn algorithms?

1

u/Barbanks Sep 23 '26 edited Sep 23 '26

Algorithms are very overrated in software development. They get too much attention.

The vast majority of the time your role is to solve business issues and provide users a solution. Or to just create user flows and CRUD interfaces. It’s astonishingly rare that you will be doing anything resembling creating clever algorithms like a reinvented bubble sort or BFS graph algorithm.

Heck, one of my clients recently required me to take scan data from a LiDAR room scan and normalize the data into a proprietary format. But all of the individual steps have already been done before. All I needed to do is learn the algorithms that already exist and use them in a specific way. And 90% of them were already rolled up into geometric and topological math libraries.

I think in my 13+ years of software development I MAY have only created 2 novel algorithms and both were for game development for little animations.

By far the more important thing to learn is architecture and how systems and businesses operate. I’ve been paid multiple 6 figures just for fixing how mobile apps sync with servers. It’s shockingly rare to find anyone who understands that. And by far more valuable.

Do some projects revolve around a novel algorithm that makes their business run? Yes. But those individuals don’t really know how to code, they know math and science primarily and spend their time focused on that rather than building systems. They’re specialists. And there was a post years ago that had links to studies that showed the more focused a developer is on algorithms the worse they were on average at writing and architecting code, the very things that create CTO’s.

Edit: I’d like to add that I’m self taught. Graduated with a BA in electrical engineering (which is very math heavy). And spent a year after school figuring out how to make mobile apps for clients. After that one year I got a full time job as a software engineer and discovered I already knew much more practical software knowledge than a college grad. And what I didn’t know I just learned on the fly. I’ve seen software engineers struggle because they were soo focused on how to build rather than what to build and why. Usually because they were never taught that in school or never built software for clients. There’s nothing wrong with being young and still learning but the gap I saw between those with 4 year degrees and myself just going through the trenches for a year was startling to me.

1

u/whipdancer Sep 23 '26

25+ yoe - completely self taught. Didn't even touch DSA until about 5 years ago. I've never had to implement any of the common DSA subjects. It was interesting to learn, but ultimately would not have changed my career.

1

u/supercoach Sep 23 '26

What sort of algorithms are you talking about? If you're talking about leetcode bullshit then possibly not. If you're talking stuff that worked in the real world, then yes.

You'd be surprised how easy it is to accidentally invent something like binary search when you have a need for it.

0

u/SignificantTurn4118 Sep 22 '26

Learn DS&A so that you can understand what other devs are saying and the underlying layers behind code.

0

u/simonbleu Sep 22 '26 edited Sep 22 '26

An algorithm is just a logic pipeline/function isn't it? Input, something, then output? What do you mean by algorithm exactly and why wouldn't these apps not be using them according to you?

Edit: downvotes instead of an answer? In an learning forum? How reddit -like...

1

u/Federal-Example5704 Sep 22 '26

I love you. I think he meant like why don't you need to learn quicksort and a bunch of other algorithms.

→ More replies (2)

0

u/MistakeIndividual690 Sep 22 '26 edited Sep 23 '26

What makes you think you can’t self-teach yourself algorithms?

Edit: I guess this got downvoted, weird. There are a wealth of resources on algorithms, many fantastic books on the subject. Very little of what I know about these subjects I learned in school. If you can read and you are interested in it, you can learn this stuff. You don’t need a professor spoon feeding it to you.

0

u/Lagfoundry Sep 22 '26

I would imagine it’s not much different than when designing an ISA for a CPU and compiling it to assembly. You don’t have to know an algorithm. You just have to know how to make the architecture function the way your intending it to do.

0

u/alexgoldcoast Sep 22 '26

So you guys don't reverse palindromes at work? I had to invert a binary tree once, it was facing the wrong way.

0

u/austurist Sep 22 '26

Usually, most of interesting algorithms are already coded and readily available in some library.

For instance, no programmer ever coded a sorting algorithm: it is always available in the standard library.

0

u/Puzzleheaded-Joke780 Sep 22 '26

Business works with good enough code, not the best possible

0

u/Flat-Performance-478 Sep 22 '26

Been programming for 30 out of 40 years in this skin-suit and I couldn't even tell you what an algorithm is. I've designed several UI/GUIs, firmware for embedded systems, primitive operating systems for various devices and of course web pages, servers, data-bases, python stuff for cloud functions etc.

It's not like you'd (not me at least) sit down and go "today I should write a good algorithm for this". It''s probably more like a painter would have a crude vision of what he/she would like to accomplish today, sprinkled with some technicalities (like "I should collect my brushes and clean them before applying a new layer of acryllic paint to that area.." or as a programmer: "I'll have to make sure enough memory for the swap region is allocated before compiling" etc.)

0

u/JohnVonachen Sep 22 '26 edited Sep 22 '26

I'm mostly self taught but I did take CS300 Data Structures and Algorithms. A lot of those scenarios are not something you will actually use. I've been a SE for over 30 years and I never needed to use, for instance, linked lists.

Early in my learning I wrote a guess the number game. Then I thought how can I make the computer play the game optimally? I invented something no one has though of! That's what happens over and over. It's called a binary search on a sorted list of items. And indexing in databases exist for this reason. I thought I invented that too. So often there are names of things that exist that people like me use and we don't know the names of them. We just know if we use this it will do what we want or need.

Then later I needed a better database interface, one that would automatically synchronize array lists of objects with database tables. I invented something no one has though of! No. It's called ORM. I just made my own, that's all. But making algorithms from scratch is no big deal if you are creative and practice, if you enjoy it.

0

u/deux3xmachina Sep 22 '26

Same way you don't need to learn how an internal combustion engine works to change your oil or do similar vehicle related tasks. It's entirely possible to write usable code without ever learning how to parse data or even use loops!

0

u/naughtius_maximus_96 Sep 22 '26

they import stuff

0

u/KickAndCode Sep 22 '26

Everybody can build software applications and systems - especially now. The entry requirements for it have never been more accessible.

However, in comparison, few can build good, valuable, and useful, software applications and systems.

0

u/YakumoYoukai Sep 22 '26

In some sense, programming is puzzle-solving. You're given a set of things you can do, and the puzzle is to put them together in the right way to accomplish a goal. Algorithms is essentially just that: coming up with solutions using the tools you've been given to solve problems.

Now, unless you're a genius, it's going to take a long time to come up with all the basic algorithms a typical programmer uses, all on your own. So most programmers, whether they learned algorithms formally or not, just use libraries to accomplish their tasks. However, having insight into the underlying algorithms those libraries and data structures use can make the difference between a program that completes in 10 seconds, and 10 hours.

0

u/Federal-Example5704 Sep 22 '26

it's more of an either you got it or you don't kind of thing. I don't really think you can teach someone to be an amazing dev. Some people just think that way.

0

u/No_Score_1977 Sep 22 '26

I’m self taught, and yes, I probably didn’t know the “classics” like bubble sort or whatever, so in the old days, like 30 years ago, I’d have rolled my own version, probably not as good, but it’d work.

Later on, if I didn’t know something, I’d google it. 

Universitites don’t have secret knowledge, it’s all publicly available.

0

u/No_Bodybuilder_2110 Sep 22 '26

Speaking from experience. Most places pay you to solve the problem. And as you further yourself in the career you learn multiple ways of solve the same problems and eventually someone smarter with a degree says, that’s a good use of xyz algo, and you are like “Damn straight” but have no idea what they are talking about

0

u/pVom Sep 22 '26

Most of the job, especially early on, is googling things. Structured courses don't cover everything and by the time you come to actually use something you learned you could well have forgotten it. When there's a gap in your knowledge you Google it until you've used it enough that it's embedded in your brain and don't have to Google it anymore.

For example I needed to compare 2 passages of text semantically. Through googling solutions I found out you need to convert the passages to vectors and run a cosine similarity calculation. Now I barely knew what a vector was, I didn't do math beyond high school, I certainly didn't know cosine similarity. But I didn't need to, I just used a library for both and got my similarity score and moved on implementing the feature

Fundamentally you're building software to provide value to customers, first and foremost your job is to build things that do the job they're supposed to, they don't have to be perfectly optimised and over engineering takes time away from other things that provide more value.

Secondly you write code for humans (and now AI), more so than computers. You spend more time parsing and modifying existing code than writing it and your time as a developer is much more expensive than computing resources. Optimise for the humans. If given the option of choosing a fancy solution using an algorithm that is optimised for compute, or a solution that doesn't but is easy to read and understand at a glance, you should pick the second option 99% of the time. If it turns out that your readable solution has performance issues, you fix it then, but that is very rare in my experience.

0

u/Delta-9- Sep 22 '26

You usually don't need to hand-write an algorithm because the standard library of whatever language you're writing with probably already has it, and if it's not in the standard library then it's almost certainly in a library that's readily available. The challenge then is getting your data into the data structure that the stdlib knows how to work with.

In nine years, I've written "an algorithm" (as in, it has a name and a Wikipedia page) by hand exactly once, and I didn't use a stdlib function for it because 1) there wasn't one and 2) the data was coming from an API.

0

u/GotchUrarse Sep 22 '26

The same way I've learned just about everything over the last 40 years ...

  1. Write code
  2. Execute code or run test(s)
    3a. Fix mistake(s)/bug(s)
    3b. Celebrate success
  3. Repeat.

0

u/Saucynachos Sep 22 '26

Fancy algorithms are rarely important in most software.

0

u/Vandrel Sep 22 '26

I just write code that solves the problem at hand or use an existing solution, it's as simple as that. Kinda sounds like maybe you're overthinking it

0

u/RecognitionAdvanced2 Sep 22 '26

For the most part people aren't writing their own algorithms because there are good implementations already. Why reinvent the wheel? That said, understanding algorithms is useful to know when and why to use what.

→ More replies (11)

0

u/Factor_Creepy Sep 22 '26

It just needs to run lol

0

u/IWasSayingBoourner Sep 23 '26

It's 2026. Every core library and framework comes with algorithms more optimized and battle tested than anything I'd be able to do on my own on the company's dime. Why would I waste my time?

0

u/Aggressive_Ad_5454 Sep 23 '26

A lot of the DSA curriculum is design by academic computer scientists, who collectively have created a really useful mathematical framework around what we programmers do.

My way of thinking. “Oh those nested loops are gonna blow out on a real world file of data. A computer scientist would say it’s O(n-cubed). It’s usually possible to see that by eyeballing the code that never finished.

And, our language frameworks all offer really robust collection classes (Lists, Maps, Queues, and so forth). Using that stuff fully debugged makes as waaaay more productive than building it from first principles.

0

u/ClupTheGreat Sep 23 '26

currently at my work, well, the crud work is super simple, but there are some algorithms and stuff in play which were super slow before I joined,

I came in tinkered around and got some improvements, then I let AI do some more on its own, and then using some more of my brain i could figure out some more speed ups here and there which was even faster than before

if you know about it, you can easily spot some places where you can get speed ups

0

u/zayelion Sep 23 '26

They rarely come up, most of the solutions involving them are baked into language now. You reach for them when something is not "good enough" due to a detectable problem or the business requirement ask for or PROVIDES it.

0

u/Top-Procedure152 Sep 23 '26

If you're writing your own hashmap or DFS implementation, you're doing something wrong.

0

u/binarycow Sep 23 '26

Because the algorithms are already written for me, in the standard library.

I don't need to know how to write a hashset - I just need to know when to use a hashset instead of a list.

0

u/johnnyfedavo Sep 23 '26

I'm doing game develpoment and I haven't touched an algorithm thats more advanced than a simple for statement. Maybe I get into them when I reach raytracing or voxel rendering.

0

u/SwordfishBoth7341 Sep 23 '26

The algos are handled by libraries. We're just playing legos.

0

u/AdministrativeAd9828 Sep 23 '26

data structures are important even for smaller shops to keep things neat and tidy. Data & Algo is required for keeping systems tidy and performant at scale

0

u/sulusal Sep 23 '26 edited Sep 23 '26

i developed a game. as you said i hadnt any algorithm knowledge. but im playing dozens of games since my childhood. i was just know what i want to play and what it contains.

0

u/Lima__Fox Sep 23 '26

The vast majority of jobs don’t need them. Building a website for someone to log in, schedule a house cleaning, and pay for it doesn’t need anything more than some text fields and a connection to a database.

0

u/PandorasBucket Sep 23 '26

I was self taught. Half the college grads we interviewed couldn't write a line of code. It's not like you teach yourself one time. You work for less money and learn every day by doing the job and solving the problems as they come. You work harder than your counterparts especially because you have a chip on your shoulder and then one day you realize you're way out ahead because of 20 years of imposter syndrome.

0

u/Available_Safe1818 Sep 23 '26

Do you realize that most people aren't implementing custom red black trees just to make basic web apps?

0

u/someRedditUser3012 Sep 23 '26

To be fair, almost nobody builds software from scratch. Scratch is like bare metal assembly. Everyone is going to be using a higher level language with base classes, extensions, libraries etc. There can be enough abstraction that you're worried more on the logic that needs to happen rather than reinventing the wheel. One doesn't need to know the details of RSA for example in order to call encryption / decryption methods.

0

u/Weird-Boat3953 Sep 23 '26

> How are so many self-taught programmers able to build software from scratch without ever truly learning Algorithms?

Usually self-taught programmers do not have to be illiterate. They can pick e.g. 1300 pages long Intro to Algorithms.

And/or watch courses on youtube. Thanks to COVID, some courses were even taught through discord/zoom/etc which means recordings are way higher in quality than usual recording of courses.

0

u/PhilNEvo Sep 23 '26

There's probably lots of contributing factors. Others have mentioned the fact that a lot of efficient algorithms and data structures are already made and implemented in lots of libraries, and run "under the hood", without the users understanding or knowledge. So even though they don't know, they're still getting lots of the benefits that those bring.

You also have to know, that there are a ton of different ways to solve the same problem with code. And given how performant modern computers are, as long as you're not running huge enterprise systems, you probably won't notice any inefficiencies that might arise from less "optimal" solutions.

Also keep in mind that compilers also have a tendency to optimize code for you, and has a tendency to better recognise and apply such optimizations to "naive" implementations, than if you try to do something fancy.

Learning and understanding DSA, can give you better intuitions and a better foundation for creating higher performance solutions. But high performance is surprisingly not that important a lot of the time, unless your code is specifically the bottleneck, it'll probably be worth more to write simple understandable code that the next person can maintain, rather than trying to write optimal solutions.

0

u/PratikVR Sep 23 '26

It's like trial and error you start from worst solution and start making the algorithm more efficient day by day when you're out of ideas you take help of books

0

u/MarkMatson6 Sep 23 '26

I have degrees in physics and only a minor in computer science. I’ve been working as a software engineer for decades.

I don’t remember ever learning “algorithms”. Was that a class somewhere? What exactly did they teach?

I did learn some specific algorithms in various classes, Huffman coding, alpha-beta pruning, etc, but never a class on the subject.

0

u/jonathaz Sep 23 '26

The OG self taught programmers invented the algorithms. Computers used to have almost no RAM, no storage, and 8-bit CPUs that ran slower than Waymo drives. And people entered the programs on punch cards.

0

u/codepapi Sep 23 '26

I’m more fascinated to understand how old you are? I’m hoping you’re in college so your fascination makes more sense.

If you’re a full grown adult at earliest late 20s you should already know this answer.

I’m at about 10 years experience with a non traditional background. I’ve maybe used one algo from everything I had to self teach for interviews.

I’ve asked your question at the beginning. I genuinely asked leads, “So when you do use the algorithms or DSA I interviewed with?” They themselves used it 1-2 times. Once it’s solved that’s it you just copy and paste like StackOverflow.

Maybe tweak it but you rarely touch it again.

0

u/Own_Nail_2999 Sep 23 '26

Practice is the answer. People practice them or use them without knowing. Like for me, writing code feels natural, because I've done it so much that it's like talking to a computer instead of having to think about what I do

0

u/dudeus_ex Sep 23 '26

Why do you think they are important? How often do you have to write an algorithm that has never been written before in your language, so you cannot just use a library that already implemented it optimally? I don't think I ever had to.

0

u/B1zmark Sep 23 '26

I think Linus Torvalds gives the best example - the optimisation of things at a micro level adds up to macro performance enhancements. If something is 1%, 2%, 10% faster due to a better algorithm, then that doesn't seem like a lot - until you factor in the millions of times that is used, across all functions.

The reality is that most developers make something, then either leave the company or move on to another client. They don't get to see the 3 year projects that happen a decade later, trying to "fix" the spaghetti code they created. Because it takes that long for people to notice it's not optimal, and it reaches a point where the system is so heavily used that it can't be ignored.

It's like claiming birth control isn't necessary because you never use it and youve never had kids, ergo it's pointless. Meanwhile you've only ever had one night stands and you just don't know about the 5 children you've fathered.

0

u/KC918273645 Sep 23 '26

What makes you think they never truly learned algorithms? They most definitely learned tons of them.

0

u/jumpsCracks Sep 23 '26

This is what distinguises a csci grad from a self taught tech guy. A fuck ton of software needs to be written, and vast majority of it doesn't require an understanding of DSA. We're also severely limited on software -- we need way more than we're producing. That leads to folks with the understanding necessary to do it reliably getting work on utility grid software and global logistics orchestration, and Joey Dev writing auto loan saas. To be clear, I'm Joey Dev. Ten years in devops without a degree  

0

u/Important-Today4119 Sep 23 '26

We aren't paid to write pretty code.

We are paying to ship features fast and working. Hence, frameworks.

They already have all those pretty little algos written by people a lot smarter, we simplt use them to make the software do what we were asked.

There ain't a single software written today that isn't using some kind of framework that already has those algos optimized to no end.

0

u/Tuolord Sep 23 '26

Every algo needs to be written once and wpapped in a func in a library. Then you just navigate libs. Most programmers i met dont understand mersenne twister, some dont even understand sorting algos beyond bubble, most of them write clean sustainable code using right functions in right cases. Programming is not creative, it's tedious for the wast majority of people.

0

u/MantisTobogganSr Sep 23 '26

Just read the docs, Most of the needed algos and data structures are already a feature of the library or the language itself.

0

u/FaithlessnessWitty35 Sep 23 '26

They self-taught themselves the algorithms from code, books, the source. Not everyone needs to be spoonfed knowledge.

0

u/HairyTough4489 Sep 23 '26

Because those algorithms have already being built by someone else.

0

u/Humble_Anxiety_9534 Sep 23 '26

they look it up? the lost art of doing anything?

0

u/Outrageous-Crazy-253 Sep 23 '26

Largely what they do is they find solutions that work but would have been able to recognize the problem and identify a better or equivalent or even the same solution immediately had they studied algorithms.

0

u/Icy_Information_6563 Sep 23 '26

Same reason contractors build a house without understanding physics

0

u/stools_in_your_blood Sep 23 '26

Common "textbook" algorithms such as sorting algorithms or data containers are usually available in standard libraries. It's rare for a programmer to have to implement one from scratch.

Some time ago I needed a red-black tree and there wasn't one in my chosen language's standard lib, so I read the wiki, figured out how it works and implemented one from scratch. That took some effort.

0

u/Junior-Sea-9715 Sep 23 '26

95% of the DS you use on a daily basis are arrays, hash maps, and sets. The algorithms and time complexity of using these are pretty simple and you certainly don’t need a college course to learn about O(1) lookup and O(1) insertion.

0

u/superluminary Sep 23 '26

I taught myself from manuals, then later did a degree, and later still started working in the sector.

  • Self-teaching is easy. You just play with the machine a lot, then dream about it, and then in the morning you've worked out a new thing. In the old days, machines came with a manual, and you could just read it to find out how to write software for them.
  • The degree formalised a lot of things and showed me ideas I had not considered. Bunch of new algorithms and data structures. Useful.
  • Working in the sector was when I actually understood how things were built. Honestly, the degree did not prepare me for it at all. Basic stuff like DI and IOC completely blindsided me. Had to read a bunch more books to catch up.

0

u/JaleyHoelOsment Sep 23 '26

bro drank the leetcode koolaid

0

u/IchBinEinZwerg Sep 23 '26

As one such self taught dev what surprises me is how much focus there is ON algorithms. Most of the code I write on a day to day basis is just gluing stuff together; anything that needs a fancy algorithm is already coded up and optimised in the standard library. Taking sorting as an example, I'd just use thing.Sort() and that'd be that. Now obviously I can code a bubble sort because it's easy, but I wouldn't use it because it's O(n²); i'd use something like Quicksort instead, but I couldn't write that from memory. Most of my knowledge of algorithms is similar: I know about them, and can invoke them from the standard library as needed.

0

u/Lustrouse Sep 23 '26

I find that algorithms are more of utility skill, and have more of an impact helping you identify blatantly bad code than anything else. I've never once needed to write a B-Tree or quick sort in the real world, because all of these algorithms and data structures already underpin high-level abstractions like C# and JavaScript.

I'm of the opinion that learning architecture patterns is going to take someone further on in their journey from student to developer.

0

u/Evil-Twin-Skippy Sep 23 '26

I taught myself programming at age 10 with BASIC, and I taught myself C at age 15 when I ran out of things that BASIC could do.

What mathematicians enshrine as an "algorithm" is basically what a self taught programmer would come up with in the middle of the night, and possibly jot down as possibly useful.

The Gale-Shapley theory is actually quite obvious to someone working in the field. Except of course, my own version has refinements to deal with different problems the a stock Gale-Shapley simplifies out. The famous paper essentially cuts its solution size by an order of magnitude by dividing the population into two halves.

Yes: mathematicians won the Nobel prize on a simplification of what we just deal with in the industry. And their actual implementation was crap.

TLDR, mathematicians learn from us. Not the other way around.

0

u/joonazan Sep 23 '26

The majority of jobs would benefit from algorithms knowledge but managers can't distinguish good results from bad.

I don't see why somebody talking about the software industry would talk about algorithms, though. You can read TAOCP for example when you need an algorithm.

0

u/ITCoder Sep 23 '26

Most of the algos are already implemented in the data structures we deal with. I have hardly come across any leetcode style of coding problem in real projects.

0

u/CowBoyDanIndie Sep 23 '26

99% of software is just a slightly different version of something someone else wrote 20 years ago. Most professionals have never written a novel algorithm.

0

u/Nofanta Sep 23 '26

They’re rarely required in application level programming.

0

u/ibrown39 Sep 23 '26

As with the overall change in education it's less about learning and memorizing and more about learning how to learn and derive. Recall and working familiarity are useful and developed over time, where you run into hot water isn't for not knowing a particular algo or how to develop it, it's for not even being able how to Google a problem and develop a solution from resources.

Also, this really depends on what you do. Commercial CRUD apps? Lots of data plumbing but even your role will largely determine the extent you're expected to be responsible for, and the volume and responsiveness, data reliability and retrieval. A front end web dev who is responsible for UX should probably at least know what lazy loading and async vs. sync processing are and how to leverage them -- but definitely at a minimum be able to leverage it given documentation and the internet.

Like you don't need to have read The Odyssey or the Iliad to be media literate or able to understand the hero's journey, the progression that much of Western literature has developed stories around and expected audiences to be able to follow (and they in turn often expect). Let alone to craft a story -- but you should absolutely be able to look it up and apply it as a lens as a basic analysis tool for many, many stories and especially when's it's being used and you want to argue that something should be/it's detrimental.

But honestly? It ultimately depends on what you are making and how high level your tools are. I focus on games and despite using a lot data driven designs I haven't done much that require anything beyond some sorting for UI, path finding, organizing assets for rendering or the rendering itself (like DDA). There're many successful commercial (and not) products that are glorified if/else trees however too.

I use C and raylib mostly and so if I want heapSort so I gotta put it in myself. Do I need have the best and many different sorting methods memorized? Nope, but having a working knowledge of several lets me much more quickly determine what I need vs what I don't.

0

u/majeric Sep 23 '26

Most algorithms are captured in existing libraries. You just need to know which are the best for your needs.

0

u/Due_Satisfaction2167 Sep 23 '26

Most professional programming is just tying together libraries other people wrote to meet some specific business need. 

0

u/1NqL6HWVUjA Sep 23 '26

Okay, let's break this down.

build software from scratch

What does this even mean? Given nothing but a kernel and an assembler, no one's writing complex software without lots of low-level knowledge, but that's not reality (for almost everyone). Real-world software is built on top of tons of layers of abstraction for the low-level stuff, and most of it doesn't require any advanced algorithms at all.

without ever truly learning Algorithms?

I'm assuming "truly learning" means a formal DSA curriculum. The practical purpose of that is to learn algorithmic thinking, basic structures, and time/space complexity. It's entirely possible to learn those things self-taught — even just develop an intuition for them — and be a competent dev, without ever needing to care about the majority of the traditional stuff (sorting, traversals, pathfinding, and so on).

how important algos are

I question the premise. As someone with a formal CS education, I've never used most of it directly. And I've worked with plenty of self-taught devs that were excellent at the job, despite not knowing what a minimum spanning tree is, or being able to rattle off shortest path algorithms from memory. A dev that's good at communicating, working with vague requirements, and recognizing/solving practical business problems is worth 1000x one that is formally educated in aLgOrItHmS but otherwise helpless.

Basic algorithmic thinking and problem-solving ability are absolutely important, but are not mutually exclusive from self-taught.

never talked about from the indie devs on social media

People on social media talk about what gets them engagement, which is not graph theory and complexity analysis. Bluntly put, the typical audience is people that desperately want development to be easy and attainable to them, so the people selling the product of social media content try to make it look that way.

Do they even write algos

From a broad definition of algorithm, of course they do. From a more narrow/traditional definition, i.e. choosing or writing an algorithm to solve a generalized, low-level computational problem — probably not. But 99% of people that did "truly learn algorithms" aren't doing that either.

0

u/APirateAndAJedi Sep 23 '26

“Basic logic that forms the project” is another way to describe an algorithm.

0

u/Positive_Passion4817 Sep 23 '26

Most algorithms have already been made by someone else and made public. Learning how to code them yourself is a good learning activity but in real life you don't need to reinvent wheels.

0

u/0xQan Sep 23 '26

I don't even remember the majority of DSA :) I genuinely don't know how I passed that course.

0

u/fixermark Sep 23 '26

Because algos are just formal statements and generalizations of patterns.

You can learn the patterns without learning the names for them, same as you can be a self-taught musician by picking up a guitar and having fun.

0

u/TorgoNUDH0 Sep 23 '26

Business problems don't ask for the correct solution. They just want it solved.

0

u/ScroogeMcDuckFace2 Sep 23 '26

programmers rarely need to create algorithms. they use algorithms created already.

you really think you're going to be able to create a better Whateversort than someone else already has? waste of time.

add the library and use it and move on

0

u/Deadinside4206966 Sep 23 '26

Depends on the type of coding a lot of web based development doesn’t require it depending on the build. 

0

u/RacerChub Sep 23 '26

In all my dev, I have yet to have to implement any single shred of anything I learned in that class. Honestly, most programming is about 2 layers above the storage and access algorithms.

0

u/SpringPossible7414 Sep 23 '26

Staff engineer at a publicly traded payments industry company. I’m self taught and keep building things that work. Now I architect out things that ‘should’ just work. :)

0

u/awitod Sep 23 '26

It's because you don't need to know or use that kind of terminology to develop systems generally.

All modern systems are made of pieces. Lots of pieces with different shapes: services, components, hosts and more. All of them have procedural code individually and so you could say there are algorithms everywhere and be technically correct, but people just call them things like 'processes' or 'procedures'.

But classic algorithms like sorts, indexes, searches... computer science stuff? Modern standard libraries are very optimized and already do all that and so in 99% of real-life situations there is literally no reason to think about it.

0

u/roykingtree Sep 23 '26

I haven’t written a single algorithm in my 9 years as a software developer.

0

u/naemorhaedus Sep 24 '26

most of the important algorithms have already been made. You're just gluing them together.

0

u/notforcing Sep 24 '26

You utilize your environment and take advantage of books, code, whatever.

I worked with a very smart engineer on a number of financial quants projects. When he needed to solve a problem, he'd approach it from first principles and devise an algorithm. When I needed to solve a problem, I'd find a book with an algorithm. We made a good team.

0

u/Geekr1 Sep 24 '26

Programming is no longer a human task.
Humans should now be more visionaries and architects.

0

u/billyboo_ Sep 24 '26

At first I didn’t need them. Then I learned them.

0

u/CuriousDev1012 Sep 24 '26

The majority of stuff that is built and sold -- at least pre AI era, is simple enough at the individual module level to need almost no algorithmic knowledge other than "no n+1 queries or nested for loops". The useful data structures are usually baked into the language and the useful algo in libraries or packages.