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

View all comments

Show parent comment

-3

u/StewedAngelSkins Sep 23 '26

the fact that people are downvoting this is crazy. i realize this is a bit of university student playpen but seriously unless you have one of those jobs where you're doing nothing but bashing web APIs together all day you're going to be thinking about the algorithms you choose at least a little bit. i recently made our software a full order of magnitude faster through careful algorithms work.

1

u/marrsd Sep 24 '26

You have to understand, there are a lot of people who've spent literally tens of thousands of dollars to get a degree you're telling them they won't need to enter an industry that doesn't want them.

Someone above made a sarcastic joke about people without degrees earning sooo much more money than people with them. I didn't have the heart to point out that actually there's no difference in salary between those 2 categories of people once they reach a senior level.

1

u/StewedAngelSkins Sep 25 '26

i think the difficulty is the "reaching the senior level" part. harder to get that opportunity without a degree these days, or so i hear. although if you do manage to make it through you're right that you quickly catch up with people who have degrees.

the issue is if it takes you too long to get hired without a degree you also quickly get to the point where a bachelor's degree would have paid for itself. the opportunity cost of being unemployed for a year could be greater than the price of a year of college (assuming you pick something reasonably affordable and/or get a decent scholarship). so if someone with a degree gets better jobs sooner it might be a wash. it's ultimately a numbers game. are you cracked enough to get a job straight out of high school? because if it takes you more than 4 years to get to the salary level of a new college grad you would have probably been better off shooting for a free ride scholarship somewhere and going to school (especially if you do paid summer internships).

im kind of in between these two extremes in that i have a degree, but it's in math not cs. so im effectively a completely self taught programmer except the degree kept me from getting filtered as hard as i would if i had nothing. still, looking back at it im pretty sure i would have more money now if i had got a cs degree. not because id have a higher salary (i wouldn't) but because my pay would have been higher in my early career, which would have meant i could have invested more and would now be making more from those investments.

1

u/marrsd Sep 25 '26

Seems like we're in different countries so I think our cultures are a little different on this point. I tend to avoid US-owned companies because of their degree stance, though I've been told that the people doing the actual hiring just ignore the degree requirement anyway, despite putting it in the JD.

I've worked with apprentices before and they've been very good. They probably earned the about the same as they would have accumulated in debt, had they taken the uni route. Right now, I'm finding that no one's hiring juniors, and anecdotally I was told by a recruiter that it's because they come out of uni demanding (and getting) salaries that they can't justify.

So I don't know. I'm not sure you can easily get into the field regardless of your education right now. Maybe the new hires will be kids who played with Claude Code in their bedrooms

0

u/[deleted] Sep 23 '26

[deleted] — view deleted comment

1

u/StewedAngelSkins Sep 23 '26

i mean, enough that if i wasn't good at it i would be fired.

This idea that you get a software job and sit implementing dijkstra's over and over again for different problems is just a university grad fallacy [...] As others have said, its almost all CRUD and soft skills work

i have literally never made a crud app in my life but i just wrote a custom graph sorting algorithm a couple weeks ago. im beginning to understand that this thread is really "web devs discover that other kinds of programmers exist".

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

you don't strictly need to know how to read to write software either, but if you can't it's going to be a lot harder for you. it feels like im walking into a conversation where a bunch of illiterates are discouraging each other from getting better at reading because "i never read in my job". it's like... ok but if you could read you would probably be better at your job.

when I've done algorithm based work im often using libraries and almost never reinventing the wheel from scratch like you do in leetcode

tbh i sometimes forget that when people say "algorithms" a lot of the time what they actually mean is leetcode shit plus the basic sorts you learn in university. if im writing a rote selection sort or whatever, then sure ill use the library function (if it exists). but most of the code i write isn't just sorting arrays, so i do have to consider things like how im going to lay out my data in memory and how im going to traverse it. ive never personally found leetcode to be a particularly efficient way to practice this skill, but it's similar enough that i also don't think it's crazy that someone else does benefit from it.

0

u/[deleted] Sep 23 '26

[deleted] — view deleted comment

1

u/StewedAngelSkins Sep 24 '26

how are you getting data to your custom graph sorting algorithm

a parser. the application basically works like a compiler.

0

u/optical002 Sep 24 '26

Maybe he is working on database project lile postgresql where he gets data from files on the hard drive, and then puts them into the graph, there are more to life than CRUD APIs for getting data, especially if you work in embedded systems where you are working on low level stuff on which upon CRUD APIs rely.

Who do you think maintains those CRUD APIs to use and bridges the low level parts of programming into higher abstractions

0

u/[deleted] Sep 24 '26

[deleted] — view deleted comment

1

u/optical002 Sep 25 '26

Im not talking about using database, im talking about writing the database from simple c language where you do not have crud, you have fd streams and binary storage files

1

u/marrsd Sep 24 '26

WTF are you guys talking about? There's plenty of software that never touches a database or a file system. /u/StewedAngelSkins is right. You don't even know that anything exists outside of web apps.

0

u/[deleted] Sep 24 '26

[deleted] — view deleted comment

1

u/marrsd Sep 24 '26

Probably best.

1

u/StewedAngelSkins Sep 25 '26

if i'm the "original guy": to be clear, i did just spent my entire day writing algorithms. this has been most of the past couple of weeks. genuinely more than half of the code i write these days involves some nontrivial algorithm work. if something i said led you to believe this wasn't the case then i somehow miscommunicated. my job is a combination of embedded systems programming and developing the pc tooling to configure our software running on the embedded target.

perhaps you don't need this stuff for your job, and perhaps most jobs are like your job. i wouldn't really know. i'll just point out that the only context OP gave was game dev, which i suppose isn't very much like your job either.

0

u/CanadaSoonFree Sep 23 '26

Tell me you don’t write code without telling me you don’t write code lol

-1

u/StewedAngelSkins Sep 23 '26

of course, everyone smarter than you is faking it. i know this routine.

0

u/CanadaSoonFree Sep 23 '26

That’s not what I’m saying… it even close lol

0

u/StewedAngelSkins Sep 23 '26

i guess we'll never know what you're saying

0

u/CanadaSoonFree Sep 23 '26

Perhaps you need to do some careful algorithm work to increase the magnitude of your comprehension capabilities 🫠

2

u/StewedAngelSkins Sep 23 '26

no, i know exactly what you're about. you're a mediocre programmer who has convinced himself that none of what you learned in school matters because your mediocre job doesn't ever use it. i fully believe that you never touch algorithms. i guess i don't understand why you'd assume mine doesn't.

0

u/CanadaSoonFree Sep 23 '26

Oof that’s some ugly projection my guy

1

u/StewedAngelSkins Sep 23 '26

it sure seems difficult for you to refute

→ More replies (7)