Last active
August 31, 2017 03:42
-
-
Save kellysutton/c5b78fc03365a3d7ba223d1e7c895f2f to your computer and use it in GitHub Desktop.
Comment Drift
This file contains hidden or 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
# This methods adds 2 numbers together | |
# @param x [Number] The first number that you would | |
# like to add | |
# @param y [Number] The number you would | |
# like to add to the first number | |
# @return [Number] The result of adding `x` and `y` together | |
def add(x, y) | |
x + y | |
end |
This file contains hidden or 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
# Adding 2 numbers together is a pretty important action | |
# for the system. We’ve chosen the traditional interpretation | |
# of what it means to "add." | |
# | |
# We were under some time pressure at the time, so we | |
# realize that this is not the most optimized implementation. | |
# | |
# If you need to ask someone about how or why this works | |
# the way it does, go talk to Kelly or someone else | |
# originally on Project X. | |
def add(x, y) | |
x + y | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment