Khalil Stemmler
Khalil Stemmler
@imsergiobernal Your English is great! :) So, here's my thoughts. A `controller` is an _infrastructure_ layer concern, not an _application_ layer concern. And the `BaseController` class is also part of...
> why the Controller is inside Usecase's folder and not inside infra folder? There's an architectural principle called **Package By Component**.  Notice how easy it is to determine exactly...
@imsergiobernal Absolutely. To reuse it, you can import the `DownvoteComment` instance as shown in my example above and then call `downvoteComment.execute()`. No need to re-write the entire use case.


@TheWinch, thank you! I certainly do have opinions about this that you'll hear very soon. I've been studying and experimenting with this. I'm currently working on Chapter 3 of solidbook.io,...
1. Making the implicit _explicit_. Making the differentiation between a `PostId` and an `Id` in general. I can lean on it not being entirely necessary. If we just used the...
@vprenner I thought about it, and you're definitely right. Walking through the logic, it could greatly simplify things to just fall back to using `UniqueIdentifier` for the ids. Great call....