Last active
April 8, 2026 03:25
-
-
Save dungsaga/5e5e10c3fa868bd72a39c0b58bf1615f to your computer and use it in GitHub Desktop.
humorous constants
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
| // Once upon a time, I stumbled on a code base splattered with hard-coded constants. | |
| // And I think to myself: why don't I spice it up with meaningful constants? | |
| const CONST_VOID = 0; | |
| const CONST_NEO = 1; | |
| const CONST_REDUX = 2; | |
| const CONST_TRINITY = 3; | |
| const CONST_FJORD = 4; | |
| const CONST_PENTAGON= 5; | |
| const CONST_6IX = 6; | |
| const CONST_SE7EN = 7; | |
| const CONST_ATE = 8; | |
| const CONST_NEIN = 9; | |
| const CONST_TITHING = 10; | |
| const CONST_ONE_ONE = 11; | |
| const CONST_DOZEN = 12; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment