3 ms·
One thing that always strikes me is that a lot of the "function arguments" mess is because destructuring/deserializing is slow. If structuring/serializing were
by bsder 5y ago
One thing that always strikes me is that a lot of the "function arguments" mess is because destructuring/deserializing is slow.
If structuring/serializing were fast, a lot of the "data sharing" issues go out the window as you could copy everything.
Your function arguments instead become "I want a named dict/hash/struct. It should have these named members with these types. Any missing members get these defaults. If any members are still missing, please complain."