TDD has been something I've been trying to adapt to but I've been having a hard time getting into the habit of it. But yes, you are right I should be writing the tests first. This is something I'll continue to work on and try to build into a habit.
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.
TDD has been something I've been trying to adapt to but I've been having a hard time getting into the habit of it. But yes, you are right I should be writing the tests first. This is something I'll continue to work on and try to build into a habit.