This is a weekly roundup of awesome DEV comments that you may have missed. You are welcome and encouraged to boost posts and comments yourself using the #bestofdev tag.
Some wins :)
Learned some more about Gatsby and Gatsby cloud. Looking forward to taking a full course on these services and doing a project using them!
My portfolio post got a React badge and lovely feedback from the DEV community. Putting my work "out there" was kind of scary, but everyone is really kind and constructive in their feedback. Can't wait to start implementing some of the advice/suggestion shared on it.
Comment Not Found
I agree with your points, Abdul. With our industry, it's easy to get distracted by the next big thing and it becomes too easy to abandon what you're currently studying in pursuit of that hotter fresher thing. Mastery comes with depth, and having depth means investing a good amount of time in it.
Be careful though, always go refactor with baby steps. Verify after every small change that the code is still working as it should. Automated tests are incredibly useful for this.
If you try to make multiple changes at once, it's easier to lose sight of what could be affected. Also, the combination of multiple changes will result in an exponential number of issues that can be caused.
One of the best and easiest way to refactor is to rename and move things. Learn the hotkey of your IDE to rename variables, classes, functions and files. It will make the code much more understandable for the next developer (or yourself after a few weeks)
See you next week for more great comments ✌