Nice article, but the rename bug could be caught be using Typescript, or generally using a strongly typed language and not accessing public members using strings like 'sex'.
It would be easier to simply pass a function than to create a command object it seems. It might be useful for undo functionality
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article, but the rename bug could be caught be using Typescript, or generally using a strongly typed language and not accessing public members using strings like 'sex'.
It would be easier to simply pass a function than to create a command object it seems. It might be useful for undo functionality