although the idea of hiding network layer seems promising, the concern I have is that this entanglement of back-end and front-end leads to hacky codes here and there and eventually it breaks the interface segregation principle.
I agree that an API layer is a safeguard. But given the amount of code (with potential bugs) required to build a web API, I'm willing to take the risk of going without.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
although the idea of hiding network layer seems promising, the concern I have is that this entanglement of back-end and front-end leads to hacky codes here and there and eventually it breaks the interface segregation principle.
I agree that an API layer is a safeguard. But given the amount of code (with potential bugs) required to build a web API, I'm willing to take the risk of going without.