4 ms·
This reminds me of one bug I introduced a long time ago: This was a node backend, and there was some code that was recreating an object be reinserting all the
by patrickthebold 5y ago
This reminds me of one bug I introduced a long time ago:
This was a node backend, and there was some code that was recreating an object be reinserting all the key value pairs in a precise order so that that's how it would serialize in the json and then the UI depended on that order. But to me, it was just recreating the same object so I deleted that code, causing the bug.
In retrospect, I should have at least asked the committer what they were trying to do.
In my defense, this was before javascript guaranteed the insertion order would be the order kept.