What is Nostr?
Sysiphuscript
npub122x…k3lh
2025-01-12 12:51:17
in reply to nevent1q…d644

Sysiphuscript on Nostr: Easy enough, as long as you follow hexagonal folder structure and you create ...

Easy enough, as long as you follow hexagonal folder structure and you create boundaries by following domain driven design. It helps if you have common patterns for the different layers (like you see in onion architecture).

Those that don’t like it often fall in 2 camps: super juniors or old timers. Usually the juniors because they don’t know what pattern to use for the behavior being encapsulated. And, old timers are so use to large files/classes that they dislike it at first. But once i go through a few patterns and examples almost everyone adopts a large portion of it. Even if they don’t go full blown, they almost always cut down their class sizes (which helps with unit test) and use some of the patterns.
Author Public Key
npub122x2x594206lnk8akx6zev9c06a7wn4deerleje8gfds2lw46a2q2ak3lh