r/programming • u/dayanruben • Jul 16 '21
The State of Developer Ecosystem 2021
https://www.jetbrains.com/lp/devecosystem-2021/
131
Upvotes
r/programming • u/dayanruben • Jul 16 '21
View all comments
Show parent comment
10
u/halt_spell Jul 17 '21 edited Jul 17 '21
What we should be telling back end developers is they're benefiting from a heavy responsibility lots of people before them took seriously... and now they're just riding on those coat tails and making it shit for everyone.
Writing backend code is more difficult but the historical merit makes it difficult as a consumer to argue with the shit design decisions people writing back end make.
You're giving me a listing endpoint returning 1000 items which we both know is going to blow up to 100,000 items and there's no paging? I look forward to the emergency announcement you make when the endpoint is timing out for everyone and we all need to start using LINK headers in the next five minutes.
Oh you have a paged endpoint but you don't commit to how it's ordered? I look forward to the ordering changing and having to adjust our filtering enhancements.
You're clearly providing an enum type (read: it's got the word status in it) but the only identifier I can use is a name? I look forward to someone changing the name and having to update my hardcoded values.
You're emitting "events" but I'm getting customer information when the event is "item added to cart". I look forward to the further bloat you'll be including in the future.
You're emitting your primary key identifiers or exposing them on endpoints? I look forward to you making your move to Postgres everybody else's problem.
You're providing a detailed error message I could automatically handle in theory but the only way for me to extract the critical data is to parse the error message? I look forward to the message changing I get blamed for the automation breaking.
And finally, because I just saw it last week, the only identifier you provide on a user submitted record is the name which the user can change? You should be fucking fired.
Backend is difficult if you're doing it right. Backend is easy if you're some self assured noob with no idea how to provide stable interfaces.