re: Coding Best Practices, Chapter One: Functions. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Do you separate scope of function definition somehow, e.g. defining sub-functions in the main function closure or moving them into separate module?...
 

this depends on what framework, structure, etc, you are using. If I need to implement a concept with multiples features and it is quite complex, I create a module for him.

code of conduct - report abuse