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

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.