| ▲ | thornewolf an hour ago | |
some initial function like
then we can "refactor"
i know that this might seem "dumb" that the code was ever setup the first way but code can grow into that shape pretty easily. this refactor "removes" the v==1 branch. this new code also follows the "early return" pattern, which improves readability. | ||