in reply to Hash initialization works, but why?

An important difference: The hash assignment clears the hash, then populates it from the key/value list. The hash slice assignment sets the values for the given keys (overwriting any previous value for those keys) but leaves any other data in the hash intact.
  • Comment on Re: Hash initialization works, but why?