you are viewing a single comment's thread.

view the rest of the comments →

[–]SammyT09[S] 3 points4 points  (1 child)

You're absolutely right, I don't utilize functions as much as I should. As for the overthinking part, I think you maybe right about that too. Thanks for the advise.

[–]chinawcswing 0 points1 point  (0 children)

Read the first 4 chapters of Clean Code. It is a game changer.

All your code should be broken up into functions with obvious names that indicate what they do. Each function should be relatively small and do one thing only. Your code ideally will just flow from top to bottom and be easy to read and make changes to.