Khalil Stemmler

Results 37 comments of 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**. ![xh9i](https://user-images.githubusercontent.com/6892666/67135521-9b329180-f1e8-11e9-8bcd-462a6c2627e0.png) 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.

![Screen Shot 2019-10-17 at 1 25 21 PM](https://user-images.githubusercontent.com/6892666/67032446-9931db00-f0e1-11e9-894d-7bccd240c851.png)

![image (7)](https://user-images.githubusercontent.com/6892666/67032637-fc237200-f0e1-11e9-8a46-f5d655e71962.png)

@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....