You are viewing a single comment's thread from:

RE: Top 5 Reasons to use Python

in #technology7 years ago

Thank for the great information. I am new to Python. So far, don't like the indentation rule of Python, but trying to get use of it. For short code it's not an issue, when the code is long, I am not sure whether it will be a problem or not.

Sort:  

Depends how you organize your code. You can just decentralize the code by writing 1 class and let that be 1 file, and then you just import that class into another file. So each separate "chapter" of the code can be in a different file, much easier to manage.

Certainly cramming everything into 1 file and then having 1 extra space somwhere that can mess up things is risky.

So for code longer than 2 A4 papers I think the best thing to do is just use multiple files, especially if you code alone and have no bug-tester friend.

interesting discussion here :-)

Thanks a lot.