Last active
June 2, 2020 18:18
-
-
Save rodolfopeixoto/ff8f0f168d9bd1b4c3d01c2088f46f75 to your computer and use it in GitHub Desktop.
clean-code
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 | |
d = yyyymmdstr = Time.now.strftime('%Y/%m/%d') | |
# good | |
current_date = Time.now.strftime('%Y/%m/%d') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment