> I hate that many other languages, including C#, Ruby and Python, force me to choose between either an unordered map or a list of (key, ...
> I hate that many other languages, including C#, Ruby and Python, force me to choose between either an unordered map or a list of (key, value) tuples Another commenter mentioned Python's OrderedDict, and Ruby's hashtables are ordered (from 1.9+): https://www.igvita.com/2009/02/04/ruby-19-internals-ordered-... It looks like C# also has an OrderedDictionary class: http://msdn.microsoft.com/en-us/library/system.collections.s... I never had to use any of these classes even if I do use hashmaps all the time , so IMHO the Python way is best (default to a 'normal' unordered hashmap, offer an ordered alternative)
Posted by halflings on Dec 23, 2014, 11:09 AM
Tags
Related issues
- Unless it is running on a government issued iPhone, it is not the Individual #1 you are alluding to.
- Great job, will try it.
- I also have a 2014 CR-V and I hate this too.
- I wish there was a setting to make audio and video opt in per site.
- There sure are.
- I feel like it's once a week that HN surfaces some incredibly overhyped, low-on-the-hierarchy-of-evidence ( https://en.wikipedi...
Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments
complaint (Other)
Unless it is running on a government issued iPhone, it is not the Individual #1 you are alluding to.
NewGreat job, will try it.
NewI also have a 2014 CR-V and I hate this too.
NewI wish there was a setting to make audio and video opt in per site.
There sure are.
I feel like it's once a week that HN surfaces some incredibly overhyped, low-on-the-hierarchy-of-evidence ( https://en.wikipedi...
That usually works well enough for risc code.
> The Bulletin calls her Miss Swindell.
> I hate that many other languages, including C#, Ruby and Python, force me to choose between either an unordered map or a list of (key, ...
> I hate that many other languages, including C#, Ruby and Python, force me to choose between either an unordered map or a list of (key, value) tuples Another commenter mentioned Python's OrderedDict, and Ruby's hashtables are ordered (from 1.9+): https://www.igvita.com/2009/02/04/ruby-19-internals-ordered-... It looks like C# also has an OrderedDictionary class: http://msdn.microsoft.com/en-us/library/system.collections.s... I never had to use any of these classes even if I do use hashmaps all the time , so IMHO the Python way is best (default to a 'normal' unordered hashmap, offer an ordered alternative)
Comments (0)
No comments yet. Start the discussion.