You must log in or register to comment.
Use TypeScript, and nonsensical things like adding arrays to objects will be compile-time errors.
On the other hand, I don’t think you should add those ever
Just wait until OP learns about cross product of matrices.
mfw non-commutativeness
Who would use that kind of type coercion? Who? I want to see his face.
I’m in this no-experience-to-apprenticeship program and everyone in my class thinks type coercion is the greatest thing ever.
Take an empty list and add an object to it. Get a list with an object in it.
Take an object and add an empty list to it, that doesn’t do anything, get a zero for false?