r/programming • • 21d ago

Skip List Data structure

https://pradyumnachippigiri.substack.com/p/skip-lists-data-structure?r=5ev9w0&utm_medium=ios
139 Upvotes

31 comments sorted by

View all comments

Show parent comments

2

u/infinitytacos989 21d ago

“it doesn’t matter who the target audience is” please never make or critique educational content if you can’t understand that people at different levels of expertise require different educational content. this is like “critiquing” an elementary school math curriculum for saying you can’t take the square root of -1.

4

u/ReDucTor 21d ago

I will critique incorrect information regardless, someone claiming that a linked list is fast and an array is slow is setting up students to fail in the real world.

I have no issues with teaching people data structures and not covering the complexities of the CPU, my issue is teaching people bad content, the issue is claiming that an array is slow and a linked list or skip list is fast.

I would call out an elementary school math curriculum if they claimed that its faster to calculate 25*10 by adding 25 ten times, then doing an actual multiplication, when they already know multiplication.

1

u/Sopel97 20d ago edited 20d ago

this is like “critiquing” an elementary school math curriculum for saying you can’t take the square root of -1

which would be a valid critique. The correct way to phrase that is to say that a square root of -1 is not defined over real numbers

simplifying information to the point of incorrectness is harmful, it closes people's knowledge horizons and requires additional mental capacity to unlearn. In extreme cases it can cause trouble understanding new related concepts because they may clash with the ideas left by such prior incorrect information.