Although the current naming is better than simply using 0 and -1 directly, the variable names can be further improved to better represent their purpose. Therefore, we should rename FIRST_INDEX and LAST_INDEX to START_RECORDING_INDEX and END_RECORDING_INDEX respectively.
Although the current naming is better than simply using
0
and-1
directly, the variable names can be further improved to better represent their purpose. Therefore, we should renameFIRST_INDEX
andLAST_INDEX
toSTART_RECORDING_INDEX
andEND_RECORDING_INDEX
respectively.https://github.com/TODAM-tw/todam-ticket-system/blob/a61faf04fc04b873eab5295ea989be5af731433d/app/utils/recording_contents.py#L27-L47
Related: #32