Last active
November 27, 2020 09:49
-
-
Save nivrith/1dc99713fe2429fe1302bbea214db2fc to your computer and use it in GitHub Desktop.
functions with multiple parameters are unreadable
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
| function getImageURLById(imageId, asAttachment = false, asThumbnail = false, withCompression = false) { | |
| ... | |
| } | |
| // This is unreadable without checking function definition | |
| getImageURLById(25, true, false, true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment