79184931

Date: 2024-11-13 12:43:07
Score: 1
Natty:
Report link

I was taught to do it, then I made libs myself where I've done it. Then I came across libs where it was one. Then I realised how clear and easy it was just to use one namespace. Now I use one namespace in my libs and only in projects where they fetish it I would adapt and do it.

A lot of answers advocating to do so are really opinionated and the reasons 'why' have more to do with clean working and organising ethics rather than being a clear advantage if you use folder = namespace.

Bottomline: meh! Satisfy yourself or satisfy others. Either is good as long as you produce clean code, architecture and be tight and organised. :)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dodgy Programmer