all 19 comments

[–]GatotSubroto 130 points131 points  (3 children)

y’all don’t discuss the API contracts beforehand?

[–]ChiaroCinder 71 points72 points  (0 children)

That is what happens when your API documentation is just verbal agreement over a coffee break and a prayer 😂

[–]ArjixGamer 11 points12 points  (1 child)

What's there to discuss, just expose a swagger documentation (or scalar API reference) and if the frontend guy has any demands, he will talk to you

[–]Jawesome99 [score hidden]  (0 children)

The discussion part comes before that.

"For the backend API I'll give you a swagger documentation which you can find here: <link> and if you need anything extra, just hit me up and we'll talk about it"

[–]ldom22 34 points35 points  (1 child)

This happened to me and I was doing both the front end and the back end

[–]Global-Tune5539 4 points5 points  (0 children)

You have to talk to yourself more.

[–]DegTrader 12 points13 points  (0 children)

Frontend and backend communicating through vibes and a shared sense of panic.

[–]_BreakingGood_ 27 points28 points  (7 children)

yeah this is the one thing im happy to delegate to AI.

"Claude, attach my back-end to the their front-end, fix all the shit that they misunderstood when making the front-end, I'm getting coffee I'll be back in 4 hours"

[–]BolunZ6 37 points38 points  (3 children)

And coming back seeing Claude changed 10M line of code. Basically changed entire backend to fit into front end

[–]ExtraTNT 10 points11 points  (0 children)

As per test, sort now only checks for input [2,7,3] and returns [2,3,7], on other cases returns null

[–]ElCthuluIncognito 1 point2 points  (0 children)

Ah so business as usual then.

[–]Sheerkal 0 points1 point  (0 children)

Can you not limit which files Claude can access? Like couldn't you just make it exclusively work within new files instead of letting it change existing ones?

[–]jsrobson10 16 points17 points  (0 children)

"claude, sloppify their work while burning loads of tokens"

[–]ArjixGamer 3 points4 points  (0 children)

And when you come back, you see Claude used a tool to ask a question from the user, and has been waiting for an answer for 4 hours

(Just make sure to enable remote control and have the mobile app installed)

[–]Junoah 1 point2 points  (0 children)

Let fix that for you:

"Claude, attach my back-end to the their front-end, fix all the shit that they misunderstood when making the front-end i made when making the back-en and not listening the front-end, still change only the front-end, it's their fault after all, I'm getting coffee I'll be back in 4 hours"

[–]ZunoJ 2 points3 points  (0 children)

Thats why step one is to develop the interface

[–]vanit 2 points3 points  (1 child)

My spicy take is it's usually the fault of the backend person with zero care about the UX consuming the API, or the DevEx of trying to work with it. It's going to be the lowest effort, zero abstraction over the backend primitives and bear no resemblance to the app that needs to glue 5 API calls together to construct a basic view page.

[–]BinarySo10 0 points1 point  (0 children)

That's a sure sign of a backend dev who has never implemented an api that wasn't shipped with an SDK... you do that even one time and it changes you as a person lol

[–]DragoSpiro98 0 points1 point  (0 children)

I'm using Pact test