Replies: 1 comment
-
|
The only nuance is that you have to specify namespace for non-default namespace:
You can also use Generally I'd say that modules should be used as in any other programming language at your discretion. Probably making the modules too fine-grained will be annoying, but everyone have their own understanding of how small or how big modules should be. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What would be the best practices for using modules?
I have couple of projects where I put evertything in default module and it's okay, but my business logic code is grouped into logical parts that are only loosely connected to each other. Would it be a good practice to move objects in schema to different modules to give more clarity to the structure? Is there any downsides for this?
I've read in some comments that there were plans to support "installing" modules, which is interesting idea, but I can't find any good explanation of the initial logic behind modules and their intented use, including best real-world practices. Any advice what to read?
Beta Was this translation helpful? Give feedback.
All reactions