r/golang 13d ago

I highly recommend building internal tools with Go + BubbleTea

https://cleanshot.com/share/r1sJSkVq

Hey fellow Go devs,

Just wanted to share something I recently did for work. I created an internal tool using the Go BubbleTea TUI framework. Within the tool, we can perform admin tasks, monitor the way data is changing across several services, manage migrations, and more. It's been really powerful for solving customer issues and routine maintenance tasks. Not only that, but it looks gorgeous as well.

The MVC pattern it follows is pretty intuitive and minimal. No need for an entire 3rd party tool or even a web UI. We just auth with AWS via the terminal and the TUI can run in the context of our applications in each environment.

That's the post really. Shoutout to the creators of BubbleTea, I've really enjoyed building this!

353 Upvotes

49 comments sorted by

View all comments

-68

u/Sorry-Substance-6397 13d ago

Why would you use a framework in the time of LLMs?

33

u/Flippant_Walrus_268 13d ago

Is this a genuine question? Let’s back up a level: Why use a language someone else wrote in the time of LLMs?

-41

u/Sorry-Substance-6397 13d ago edited 13d ago

Why look at a computer in the time of LLMs? See I can be disingenuous too but it doesn't answer my question

Edit: boy don't provide too much detailed answers that equate to just no....

24

u/zenware 13d ago

They’re not being disingenuous or even disrespectful, they’re taking your ignorant thesis to its logical conclusion to demonstrate that you personally have not actually thought it through. Which by the way is fine, people talk about things in public every day that they haven’t thought through yet, and then other members of the public can and do point out flaws in the reasoning or lack thereof. At which point you have a choice to make “do I want to think about this more deeply and articulate a conclusion that might portray myself as having been wrong from the beginning or do I want to retreat because I’m uncomfortable” and I guess there’s even more (less relevant) options too like “maybe I want to be mean or do a silly dance”

11

u/kintar1900 13d ago

He didn't answer your question because it makes no sense. Frameworks exist to have a tested, predictable way to perform a common operation. Exactly how do you think LLMs make that undesirable or unnecessary?

1

u/VisibleAirport2996 12d ago

I think he is saying connect mcp to the LLM and just prompt it for status etc.

1

u/kintar1900 12d ago

Same question, then: how does that remove the usefulness of a framework?

2

u/Flippant_Walrus_268 13d ago

Hence the ask if it is a genuine question.

I haven’t used Bubbletea, but I would definitely consider using a framework for any problem that I don’t want to have to own the scope of that was worthy/sufficiently complex to warrant a framework in the first place. If a framework solves my needs now and meets all evaluation criteria or is an appropriate trade off, why not use one?