Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One thing I've always wanted to do is cross reference the data structures/containers for various languages. In Python a dictionary is what Perl calls a hash and what C++ calls a map. Three different names for the same data structure (key value based).

I don't think Perl has a set container by default, but they can be added from CPAN, Python does, it's called a set ;) as does c++ where it, too, is called a set. Again, a key value based data structure, but in this case, the key is the value.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: