|
|
submitted by
paul_houle
5 months, 21 days ago
gen5.info — Today's popular languages implement Dictionaries: a structure that can efficiently look up values associated with a set of keys. On close examination, we find that different implementations provide programmers different options for missing keys: something that can make a big difference for the reliability and maintainability of applications.
This article contrasts the implementation of Dictionaries in C#, PHP, Python and Java and provides implementations of Python-style semantics as a PHP function and C# extension method
|
|
tags:
Tips | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|