I don't agree with you in some points. In clean code practices a function can be a command or a query. A query function can only query for data and return it. It can not change the application state and a command function can only change state. By this way a reader can guess what the function does exactly. There is also another good rule which says "A function should do only one thing." (setFooIfNotExistAndGetFoo)
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.
I don't agree with you in some points. In clean code practices a function can be a command or a query. A query function can only query for data and return it. It can not change the application state and a command function can only change state. By this way a reader can guess what the function does exactly. There is also another good rule which says "A function should do only one thing." (setFooIfNotExistAndGetFoo)