For dev bloggers
Start publishing articles on your own domain with Hashnode and tag them with #clean-code. Learn more
If you want to measure execution time of pieces of your code, one of the ways to do it, is using console.time().
First you are calling console.time(…
Bad Responsibilities Assignments
Single Responsibility Violation.
Design for Change
Coupling to accidental implementation
Rename your variable according to the role.
A week ago, I twitted:
"SOLID of uncle Bob, How I see them?"
And got a nice like from Uncle Bob :)
I am a big fan of SOLID!
Not only that, time after…