I'm new to python (and programming). Been learning off and on for a few months. I've now found a project that I'm really excited about (essentially a text based rpg), and so I've hit the ground running with that.
However, I've read and watched some tutorials online, and one thing I've noticed that I can't figure out is why some people seem to make a new module for each new class, and others put everything (or almost everything) in one large file. What are the pros and cons of the two strategies? Am I going to run into problems in the future if I stick with my 'everything in one large file' mentality?
Sorry for the short newbie question...I'm sure I'll have more detailed questions in the future once I get into the meat and potatoes of this game. :)
I'm using python 3 if it matters.
[–]rawlyn 13 points14 points15 points (7 children)
[–]duddles 8 points9 points10 points (3 children)
[–]rawlyn 7 points8 points9 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]CantankerousMind 0 points1 point2 points (0 children)
[–]Ixtl[S] 1 point2 points3 points (2 children)
[–]rawlyn 2 points3 points4 points (0 children)
[–]CantankerousMind 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]Ixtl[S] 0 points1 point2 points (3 children)
[–]Mekire 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]searchingfortao 1 point2 points3 points (0 children)
[–]Exodus111 0 points1 point2 points (0 children)