I recently started to get more into programming and now just use map data structure for pretty much anything. That and arrays (slices in go). Never had the need for more complex data structures yet.

Curious, as this community has a few people who write code. What are your most used data structures? If you have any? 💻

Follow

@nikivi

Alright, this is probably going to be too much information, but map/dict is not really a data structure, it's a concept/abstraction that can be implemented using various data structures like self balancing binary trees, tries, hash tables (or even combinations of those), none of which is simple. Many high level languages come with one (or are even fundamentally based on one) so it's easy to take for granted, but if you look a little closer there is a lot of complexity.

@neauoire

@neauoire

no no, it is I, who intentionally took it out of context to proudly demonstrate how little life I have...

@nikivi

@namark @nikivi that's alright, I do that too :) I'm not holding it against ya 👌

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.