Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
2erXre525047yClean Code is actually a good read!
I recommend you to go into TDD (test first, implement second for having
better code quality in the end) -
CWins48117yWhen you do more unit tests, you will notice how some things are easier to test than others. This will make you design classes differently and make them simpler as a result.
Do you have a tool that shows which codepaths are covered by tests? -
Hopstar737y@CWins no, not yet. I'm currently using vs code with node typescript and test with jest. Any suggestions?
-
Clean code is a good start!
Be sure to watch "Uncle Bob's" talks on YT, too, they are quite insightful.
In addition, I'd recommend to let a tool help you to write clean code and improve your code over time (there are many!). My company (and I ;) are working on a code quality tool called "Teamscale" which is free for students. Let me know if you're interested ;) -
CWins48117y@Hopstar
Not for VS Code, for VS there's AxoCover.
A quick google on jest and "test coverage" gave results, so there should be something.
Related Rants
This year I want to become a better programmer. I ordered the book clean code and want to focus on writing more and better unit tests.
If anyone has any tips on how to improve or how to get tips on your code
rant
wk85
cleancode
learning