Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

naming convention (singular or plural ?) #2

Open
zztczcx opened this issue Oct 27, 2021 · 1 comment
Open

naming convention (singular or plural ?) #2

zztczcx opened this issue Oct 27, 2021 · 1 comment

Comments

@zztczcx
Copy link

zztczcx commented Oct 27, 2021

Hi,

I am a little bit not sure what to choose when naming the context.

from the code i can see there two different style (/lib/bank/core/accounts and lib/bank/core/accounting)

so when should I use plural ? and why it is not called accountings ?

@vasspilka
Copy link
Owner

Hey, personally I go with plural most of time. However in cases of general concepts like "environment" or "topology" for example I would go with sigular. I would say there is not really a rule I go by, more how it feels.

In this case I know there are going to be multyple of accounts and modules to manage them so I named the context in plural to show that, however accounting is a general concept you don't have many accountings. But to be fair looking at it again both of them are more less the same context. Someone might have put everything in the same folder and call it either "Accounting" or "Accounts"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants