title: What is the difference between a JS object, Python dictionary and a C++ Struct?
body: <p>This <a href="https://stackoverflow.com/a/20988172/13491892">post</a> explains the differences/similarities between a Python dictionary and a JavaScript object. However I would like to know the differences/similarities between a JS <code>object</code> and Python <code>dict</code> to a C++ <code>struct</code>. <br><br>These 3 datatypes seems to be equivalents to each other in their respective languages, however I would assume that there is more nuance to the applications in which each of them would be used. Otherwise there would be no need for other datastructures such as the C++ <code>map</code>.</p>