Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Counterpoint, if you're writing business logic - e.g. some math, a HTTP/JSON API, a database, etc - it may be better to start with your domain data and business logic. Write the most clear version of the business logic, then implement the details in their respective layers. That is, the layers may be replaced entirely over time, but your business logic shouldn't change if e.g. the data goes to GRPC instead of HTTP.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: