Skip to content

Instantly share code, notes, and snippets.

@kellysutton kellysutton/bad_comment.rb

Last active Aug 31, 2017
What would you like to do?
Comment Drift
# 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
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.