Open
Description
see this code-snipped:
# ansi console color constants
COLOR_BLACK = 0
COLOR_RED = 1
COLOR_GREEN = 2
COLOR_YELLOW = 3
COLOR_BLUE = 4
COLOR_MAGENTA = 5
COLOR_CYAN = 6
COLOR_WHITE = 7
# functional color aliases
COLOR_WARN = COLOR_YELLOW
COLOR_ALERT = COLOR_RED
COLOR_CONFIRM = COLOR_GREEN
COLOR_NOTE = COLOR_BLUE
I dont see any use in putting an explanation above each constant, but they still should get documented. Is (or shouldnt?) there any syntax for constant-blocks that're going to get documented any used by including classes?
perhaps something like…
# some descriptive text
CONST_1 = 1
CONST_2 = 2 (…)
#^ <- mark block-end
…?