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

Platforming a DevOps function

Cloud vs On-Premise Documentation Management System

5 Most Useful Sorting Algorithms

Kotlin Basics: Thinking Functional

Making My Little Bat Jump in Unity

Better ways of Logging with Python

SpeechRecognition in Python

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

The Spooky Reduce Function

An Intro to Recursion

How to Hire Angular Developers: Going Down the Rabbit Hole

How to Hire Angular Developers: Going Down the Rabbit Hole

5 steps to solve the Algorithm problem