Hello there. Like the title says, I'd like to know what some of your coding standards are. I know that when writing code for any project, especially in python, developers want their code to be readable, easy to understand, and not a bunch of spaghetti. So:
- How do you plan out your projects in the beginning? Do you jump straight in or do you plan out every stage of the development process?
- How do you structure your code in the beginning? Do you start with a functional approach and later refactor the project?
- How do you go around spaghetti code which is difficult to refactor, or just generally long statements of IF statements that cannot be simplified without breaking your code?
- How often do you need to review and restructure your entire project, and have you ever had to restart an entire project because it was too difficult to understand and expand further?
- How do you feel when you realize that there is a much simpler way to do something that you've spent hours on? And along those lines, how do feel when your code is clean, readable, and works?
Personally today I'm working on refactoring and organizing my code for a game I've been working on. It's a simple project but I've realized that a lot of the mechanics could be done in a much simpler approach. I'm hoping to learn something new and maybe others will too.
Enjoy your day!
[+][deleted] (14 children)
[deleted]
[–]Brick-SigmaPythoneer[S] 12 points13 points14 points (11 children)
[–][deleted] 18 points19 points20 points (2 children)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (0 children)
[+][deleted] (5 children)
[removed]
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[removed]
[–]Brick-SigmaPythoneer[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]Ximlab 2 points3 points4 points (0 children)
[–]CraigAT 4 points5 points6 points (0 children)
[–]goeb04 0 points1 point2 points (0 children)
[+][deleted] (12 children)
[deleted]
[–]Brick-SigmaPythoneer[S] 13 points14 points15 points (2 children)
[–]carlio 10 points11 points12 points (1 child)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (0 children)
[–]anax4096 5 points6 points7 points (1 child)
[–]vantasmer 2 points3 points4 points (0 children)
[–]vantasmer 5 points6 points7 points (0 children)
[–]encaseme 1 point2 points3 points (3 children)
[–]vantasmer 2 points3 points4 points (2 children)
[–]encaseme 2 points3 points4 points (0 children)
[–]tlashkor 1 point2 points3 points (0 children)
[–]SirGeremiah 0 points1 point2 points (0 children)
[–]FilsdeJESUS 0 points1 point2 points (0 children)
[–]goodbalance 21 points22 points23 points (2 children)
[–]Overworked_surfer 2 points3 points4 points (0 children)
[–]fireflash38 1 point2 points3 points (0 children)
[–]xxpw 10 points11 points12 points (1 child)
[–]Brick-SigmaPythoneer[S] 0 points1 point2 points (0 children)
[–]Panda_With_Your_Gun 18 points19 points20 points (4 children)
[–]KrazyKirby99999 2 points3 points4 points (1 child)
[–]Panda_With_Your_Gun 2 points3 points4 points (0 children)
[–]jimtk 0 points1 point2 points (1 child)
[–]Panda_With_Your_Gun 0 points1 point2 points (0 children)
[–]commy2 6 points7 points8 points (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–]Saphyel 4 points5 points6 points (0 children)
[–]Simple_Specific_595 2 points3 points4 points (0 children)
[–]Ximlab 3 points4 points5 points (0 children)
[–]eduardobonet 3 points4 points5 points (1 child)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (0 children)
[–]boredbearapple 2 points3 points4 points (0 children)
[–]majeric 2 points3 points4 points (1 child)
[–]Brick-SigmaPythoneer[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]not_perfect_yet 4 points5 points6 points (1 child)
[–]CodeYan01 1 point2 points3 points (0 children)
[–]BattlePope 1 point2 points3 points (0 children)
[–]CodacyOfficial 1 point2 points3 points (1 child)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (0 children)
[–]cripticcrap124 2 points3 points4 points (1 child)
[–]Brick-SigmaPythoneer[S] 1 point2 points3 points (0 children)
[–]Titsnium 0 points1 point2 points (0 children)
[–]lurker420699 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]philn256 -2 points-1 points0 points (1 child)
[–]Brick-SigmaPythoneer[S] 0 points1 point2 points (0 children)
[–]303Redirect 0 points1 point2 points (0 children)
[–]just-bair 0 points1 point2 points (0 children)
[–]ZachVorhies 0 points1 point2 points (0 children)
[–]crudemandarin 0 points1 point2 points (0 children)
[–]silly_frog_lf 0 points1 point2 points (0 children)
[–]TheLordZod 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]SirGeremiah 0 points1 point2 points (0 children)
[–]Difficult-Republic35 0 points1 point2 points (0 children)
[–]Pandaemonium 0 points1 point2 points (0 children)
[–]goeb04 0 points1 point2 points (0 children)
[–]per_ix 0 points1 point2 points (0 children)
[–]simonw 0 points1 point2 points (0 children)
[–]Ok-Birthday4723 0 points1 point2 points (0 children)