Avee Chakraborty’s Post

I was reading the FastAPI docs today and stumbled upon a new chapter: "Vibe Coding" 👀 Turns out you can now do this: @app.vibe(   "/vibe/",   prompt="return hello world as json", ) async def health_check(body: Any): ... No validation. No schemas. No function body. Just vibes ✨ I genuinely got curious for a second. Opened my editor. Started typing. Then I ran it. AttributeError. 💀 Yep. April Fools' by FastAPI team — and honestly one of the best ones I've seen this year. The joke hits because it's a little too real. Anyway. Back to writing actual typed, validated, documented code. Like a boring person. 😂😂😂 check the docs - https://lnkd.in/gh4iSHqP #Python #FastAPI #VibeCoding #AprilFools #SoftwareEngineering

  • No alternative text description for this image

Oh wow you actually ran it huh? What an interesting action 😂

Really liked the new way of hiding business logic inside a simple prompt. Adding "please don't break in prod." at the end of prompt really does the trick. Must try!

See more comments

To view or add a comment, sign in

Explore content categories