Open AbbyCottontail opened 7 years ago
I'm up for suggestions of coding practice I should follow.
Formatting and organization of the code are two different things. My questions will be: 1- Do you use a framework? 2- Do you auto-format the code with your IDE? (most of them have a shortcut to do it, it indents clearly the code) 3- Do you have preferences? (e.G. camelcase vs snakecase)
3- I actually prefer snake_case but the code is in CamelCase, all of it, so that's fine. 2- I usually format as I go along but, I think I'm following different format style, not exactly sure. My IDE does have auto formatting but for the most part I've been indenting as I go along and such. 1-I don't think I'm following a framework.
I think for the most part, it may be the organization that need doing more than the formatting.
Ok, if you don't use a framework, that's why you have code organization problems 🙂 Do you know the MVC pattern?
Modal View Controller, right?
Yes, exactly!
At the moment the codes is not very well formatted with methods and variables all over the place. At some point, There's a need to go back and format the code.
Ontop of this, create a coding practice for the project.