News for hackers. Stuff that matters.
Re:Construct-JS – A library for creating byte level data str... by gridlockd on Monday March 18, 2019 @07:04AM (#19420103)
The underlying structure is not the issue, it's the object literal that doesn't have its key order defined (in older standards) and therefore the interface as suggested would be broken.

In practice the order will be maintained in the major engines, but that's still not a good reason to do rely on it.

Re:Construct-JS – A library for creating byte level data str... by shawnz on Monday March 18, 2019 @08:57AM (#19420634)
I think the parent is suggesting taking a map instead of an object as the interface for constructing the Struct objects. Not using it as the underlying structure.