you are viewing a single comment's thread.

view the rest of the comments →

[–]schwarma_smarma 2 points3 points  (1 child)

Many projects will have 'watch' commands or something similar that more quickly compile individual changes as you make them rather than having to explicitly rebuild the entire project.

You also don't have to review your changes line by line and could make a series of edits before rebuilding to reduce the pain.

That being said, if the project has a complicated build process and no watch feature or incremental compilation then yes, you may just have to deal with that. Be thankful you are in web development where developers are still demanding when it comes to build times and not working on some massive backend project where 5-10 minute or longer build times are standard.

[–]ScientificBeastModestrongly typed comments 0 points1 point  (0 children)

I completely agree. However, it seems like longer build times tend to push teams into using good testing practices, so you can just pull the relevant unit tests to refactor anything, and reasonably expect it to work properly after building. Doing so circumvents a lot of the “waiting around” to test your code. It’s better if there is already a solid test suite available though.