[1]: https://gobyexample.com/maps [2]: https://docs.python.org/3/tutorial/datastructures.html#dicti... [3]: https://learn.microsoft.com/en-us/dotnet/api/system.collecti...
[1]: https://gobyexample.com/maps [2]: https://docs.python.org/3/tutorial/datastructures.html#dicti... [3]: https://learn.microsoft.com/en-us/dotnet/api/system.collecti...
While the basic data structure is obviously identical to its counterparts, the way it interacts with the ecosystem as a whole makes it feel way more powerful. The interaction of hashes, symbols, and blocks lead to a language which feels like it is designed with DSLs as first-class citizens. This leads to things like Ruby on Rails, which at first glance feels like pure magic.
I get a somewhat similar feeling about lists in Python. Because of its very extensive list comprehension you start thinking in lists, leading to some very clean code which would be extremely awkward to implement in many other languages.
Totally agree.
I've noticed a lot of novice-level posts on here lately. Although I admit the post was very well written.
* Hashtable
* SortedList
* SortedList<TKey, TValue>
* Dictionary<TKey, TValue>
* ConcurrentDictionary<TKey, TValue>
I don't even know C# (just Java), yet I know that you'd probably want to use Dictionary<TKey, TValue> most of the time.