|
|
|
|
|
by theshrike79
297 days ago
|
|
Because I need to have a controller that does CRUD operations. It has a specific amount of code I need to write just to add the basic boilerplate of receiving the data and returning a result from the endpoint before I can get to the meat of it. IIRC there are no languages where I can just open an empty file and write "put: <business logic>" and it magically knows how to handle everything correctly. |
|
> IIRC there are no languages where I can just open an empty file and write "put: <business logic>" and it magically knows how to handle everything correctly.
Are you sure it's done correctly? Take something like timestamps, or validations: It's easy to get those wrongs.