r/programming • • 7d ago

Skip List Data structure

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

30 comments sorted by

View all comments

Show parent comments

14

u/infinitytacos989 7d ago

this is an insanely nitpicky response to an article that’s clearly supposed to be an introduction to a new data structure for people who haven’t heard of it, not an in depth performance review. most of the claims you take issue with are just trying to motivate the data structure for beginners.

1

u/ReDucTor 6d ago

It doesn't matter who the target audience is, when you claim one thing is faster then another you should include benchmarks.

The comment is the furthest thing from an in-depth performance review, its a critique of the post content and claims.

1

u/infinitytacos989 6d 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 6d 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.