Adding onto 4. As various people said "premature optimisation is the root of all evil" and it's usually better (as you rightly said) to write the working code first then optimise/improve it.
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.
Estimating (points or hours).
Solid Unit Tests for tests that matter. I think "code coverage" becomes an obsession with some devs.
Try to not gold plate everything. Sometimes just get it done.
Don't try and optimise and micro optimise code as you develop from scratch. Get it in a working state, then start optimising.
Dont be afraid to ask, and understand making mistakes is how we learn.
Guinness is all you need on a Friday.
Adding onto 4. As various people said "premature optimisation is the root of all evil" and it's usually better (as you rightly said) to write the working code first then optimise/improve it.