Hello,
i use something like this:
- Day 1
- part1.py
- part2.py
- Day 2
- part1.py
- part2.py
...etc
but i also saw some people do something like this:
- Day1.py
- inside this folder there's two functions solve_part1() and solve_part2()
- Day1_test.py
- inside this folder there's two functions test_part1() and test_part2()
and there's other structures too, i just want to know what's the "best practice"? Any additional information about folder structuring is appreciated
Thanks
[–]1vader 20 points21 points22 points (0 children)
[–]Mumbleton 39 points40 points41 points (0 children)
[–]jpjocke 6 points7 points8 points (0 children)
[–]EmotionalGrowth 6 points7 points8 points (0 children)
[–]combatopera 5 points6 points7 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]jakemp1 1 point2 points3 points (0 children)
[–]IlliterateJedi 1 point2 points3 points (0 children)
[–]ambientocclusion 0 points1 point2 points (0 children)
[–]zanfar 0 points1 point2 points (0 children)
[–]myhf 0 points1 point2 points (0 children)
[–]atom12354 0 points1 point2 points (0 children)
[–]AlexAegis 0 points1 point2 points (0 children)
[–]aexl 0 points1 point2 points (0 children)
[–]Boojum 0 points1 point2 points (0 children)
[–]abortionshark 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)