17
submitted 7 months ago by schmudde@beehaw.org to c/programming@beehaw.org
top 3 comments
sorted by: hot top controversial new old
[-] brie@beehaw.org 5 points 7 months ago

Good data (and program) structures are definitely quite important. Well chosen structures make implementation much easier (and likewise bad structure makes things needlessly difficult).

Also, the film editing example is also an example of a piece table, which makes cutting very simple. Cutting out a section is just a node insertion + update the end of the original node ({0-3} -> {0-1}, {2-3}).

[-] catacomb@beehaw.org 5 points 7 months ago

I feel like this is overlooked far too often. I rarely see anyone use data structures outside of (array) list and hash table and any attempt to use something descriptive of the problem is often shot down because of "familiarity," which is sort of self-fulfilling.

I get away with flagging lists which should be sets, though.

[-] troyunrau@lemmy.ca 3 points 7 months ago

That is a fantastic article!

this post was submitted on 27 Jan 2024
17 points (100.0% liked)

Programming

13097 readers
10 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS