Perceived Complexity, Cyclomatic Complexity, and Refactoring

Photo by Bofu Shaw on Unsplash

If you’ve worked in Ruby before, perhaps you’ve also used the ever-helpful RuboCop.

RuboCop is a Ruby code style checker (linter) and formatter based on the community-driven Ruby Style Guide. — Rubocop.org

RuboCop is a great tool to ensure that your code consistently adheres to an appropriate standard. The various ‘cops’ aim to keep…

--

--

--

Software engineer writing about programming, learning, & more. Highly caffeinated. In a committed relationship with the Oxford comma.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Connecting to RDS using IAM user

Git branch naming conventions

AMD Forecasting The Bounce From Blue BOX Area

Code Editor Recommendations

Onboarding SWE? Questions to ask in your first week

How to Use Pass, Break, and Continue in Python

Helpful Python Code Snippets for Data Exploration in Pandas

Primer on Spark Join strategy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elizabeth

Elizabeth

Software engineer writing about programming, learning, & more. Highly caffeinated. In a committed relationship with the Oxford comma.

More from Medium

Why Should You Use Ruby on Rails for Your Next Software Project?

The Basics of Serializer: A Rails guide

Phase 3: Getting to Know Ruby

Is Rails worth learning in 2022?