r/learnprogramming • • Apr 05 '22

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them

Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.

Someone else who reads yours and does understand it, try to explain it to them to help them learn

1.6k Upvotes

738 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Apr 06 '22

Hm interesting, I get the purpose of the principle. Just seems like it’s based on getting initial bad data. A good SQL statement and maybe using a little bit of LINQ would eliminate the need for this concept.

1

u/Rote515 Apr 06 '22 edited Apr 06 '22

Lol this is a misunderstanding of what bigO is in the extreme, the algorithm is irrelevant, that aside not all data comes from a database. Even if it was from a database, data frequently needs to manipulated in memory in ways SQL is unable to do… SQL will never eliminate the need to sort and organize data that’s already in memory rather than on disk…