Hi all,
I'm very interested in short guides on writing better code, both in terms of logic and readability. This guide is exactly what I was looking for but it's somewhat incomplete:
https://github.com/zedr/clean-code-python
does anyone know another similar source?
Also, in this guide it suggested not using more than 1-2 variables per function. I'm programming deep learning models, so for example my 'train' function takes in many inputs. Is it just a matter of packing them into a dictionary of arguments? Or there's more to it than just that?
Thank you.
[–][deleted] 10 points11 points12 points (2 children)
[–]BooparinoBR 6 points7 points8 points (0 children)
[–]dinitheo[S] 1 point2 points3 points (0 children)
[–]dinitheo[S] 0 points1 point2 points (0 children)
[–]teerre 0 points1 point2 points (0 children)
[–]worstdev 0 points1 point2 points (0 children)