🤔 Ever wondered why package names in Kotlin code often don’t matter — but maybe they should?
Still creating .dto, .model, .entities, .core, .common packages? Still dividing code into packages "just not to have a lot files within one directory"? Most likely this article is for you.
Until recently, I didn't think much of it and couldn’t clearly explain when it makes sense to create a package and when it doesn’t. So I drafted some meaningful rules and guidelines to help.
Enjoy –
https://dev.to/y9vad9/package-naming-nobody-cares-about-but-should-3i5.
Would love to hear your thoughts in the comments!