waferbaby / usesthis

A nerdy little interview website, asking people from all walks of life what they use to get the job done.
http://usesthis.com/
MIT License
579 stars 119 forks source link

Refactoring to reduce complexity #29

Closed acconrad closed 9 years ago

acconrad commented 9 years ago

A few methods were turning up as overly complex by flog so this uses the Extract Method to reduce the complexity of the functions in this module

waferbaby commented 9 years ago

Ooh, what's flog? I am very anal about how I name my methods, but I'd love to try the tool you used.

acconrad commented 9 years ago

You can read about it here it's used by CodeClimate for their code analysis tool.

waferbaby commented 9 years ago

Thank you! I'll dig into it :)