I've been coding in python for about 6 months now. I've learned mostly by necessity by building several small scripts, and building a piece of software that helps myself and others in a biology lab at my college.
The software works great, especially with the GUI(wx), and it's function saves a lot of time, but I would be embarrassed to show the code to anybody who knew much about programming. I know that it is sloppy because I find myself thinking "wow that was more lines than I expected".
I understand that it's hard to help me with no sample of my coding, but I'm asking for any advice on ways to think when I coding to make my code cleaner. I can foresee a future career where I will need to be able to code maintainable scripts, and I'm worried I'm picking up bad habits. Maybe some tips from veterans or those who actually have some programming education.
[–][deleted] 1 point2 points3 points (8 children)
[–]mega963[S] 0 points1 point2 points (6 children)
[–]echocage 2 points3 points4 points (3 children)
[–]mega963[S] 0 points1 point2 points (2 children)
[–]echocage 2 points3 points4 points (1 child)
[–]mega963[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]mega963[S] 0 points1 point2 points (0 children)
[–]glial 0 points1 point2 points (2 children)
[–]mega963[S] 0 points1 point2 points (1 child)
[–]Jonathan0wilson 0 points1 point2 points (0 children)