DEV Community

Cover image for Pull Requests: The Good, The Bad and The Ugly
Viach Kakovskyi
Viach Kakovskyi

Posted on

 

Pull Requests: The Good, The Bad and The Ugly

Top comments (4)

Collapse
 
stecman profile image
Stephen Holdaway

Nice - more information is always better. The "why" of changes is particularly important for other devs and future you.

One step better is writing your detailed descriptions in the body of commit messages; then it's in the history and directly accessible through whatever interface you use to git blame. All of the Git web platforms support this well, including copying the commit body to the description of a pull request.

Facebook's tool Phabricator has an excellent article on writing reviewable code + writing good commit messages which goes into more detail.

Collapse
 
backendandbbq profile image
Viach Kakovskyi

Completely agree. The article which you mentioned is a great guidance.

Collapse
 
connorphee profile image
Connor Phee

Really enjoyed reading this! My team is currently trying to improve our process and I think you had some really good points/ideas that I will bring up to them!

Collapse
 
backendandbbq profile image
Viach Kakovskyi

That's great, Connor! All the things in the blog post are based on my practical experience playing as a team.

An Animated Guide to Node.js Event Loop

Node.js doesnโ€™t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.