3 ms·
> The language got in my way more often than it helped me Got in the way how? By insisting that things have types and one cannot blindly add an object to an ar
by cratermoon 2y ago
> The language got in my way more often than it helped me
Got in the way how?
By insisting that things have types and one cannot blindly add an object to an array [] + {} and expect it to behave?
Never mind that in Javascript adding an array to an object {} + [] gives a different result.
ETA: for bonus points, what does {} + {} return?