Created
July 25, 2020 06:17
-
-
Save sinsoku/03dc51d8305821d25091c9e3e9d746cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bad | |
class A | |
def cool_calc(b) | |
b.foo + b.bar * 2 | |
end | |
end | |
# good | |
class B | |
def cool_value | |
foo + bar * 2 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment