DEV Community

Discussion on: The Proximity Rule

Collapse
 
chrisvasqm profile image
Christian Vasquez

I find this to be super helpful when trying to extract methods from a complicated piece of code. Helps you organize and even notice if there are variables that can be inline without losing readability.

Collapse
 
gonedark profile image
Jason McCreary

Very good point. Grouping can help you see more easily see code prime for extraction.