(PODS)
New developers should distinguish between data structures’ naming conventions and their language’s conventions. Since Ruby is my native computer language I will point some of these differences when appropriate. For further details, check Ruby’s documentation.
Ruby has structs, though they are implemented as lightweight classes. This leaves the ‘only data - no behavior’ rule up to the developer.
We covered lots of key concepts. From why we need data structures, and are in fact, already using them in our daily life, all the way to their key characteristics.
We also cover the two must basic data structures; records and structs. Finally, we talked about how Ruby structs differentiate from their data structure counter part.
That’s it for this post. Next one will cover the basics on arrays and sorting algorithms.