Skip to content

Simplifying code in lesson 2 #6

Answered by CJ-Rose
salem-moralist asked this question in Q&A
Discussion options

You must be logged in to vote

Refactoring code is all about eliminating redundancy and increasing readability. So yes, you could say this is purely a style thing, but think of it more like an upgrade in the quality of the code because it's so much easier to read and understand.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants