This looks really interesting and could be a fun way to get into the Go landscape!
Bubble Tea: fun, functional and stateful way to build terminal apps
41–50 of 116 posts
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#42[1] https://docs.rs/dialoguer/latest/dialoguer/ [2] https://github.com/console-rs/indicatif [3] https://docs.rs/colour/latest/colour/
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#43This looks like a really cool project, however I have to say that the Go language seems like a terrible match for the Elm architecture.
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#44Earlier quoted context omitted.
Why not? There's a lot to hate about every language, but one advantage about Go is that it's fairly easy to context switch in/out of, which makes it great for side projects, because it's cognitive load while using it is really low. Unlike say, Rust. I do love Rust though.
I'm only really interested in learning a language if it excites me, or if I'm getting paid to do it. I don't hate Go, and would be fine to learn it on company time for company projects, but there is no spark that would lead me to learn the language on my own. I've written some basic Go, but if I'm using it in personal projects, I'd would have to invest time to understand the ecosystem, runtime, standard lib, best pra…
Now with generics there's even less to complain about.
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#45One of my favorite TUI frameworks. I made https://github.com/mathaou/termdbms with it. A very pleasant experience.
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#46Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#47I don't like things that pollute our natural language namespace. Couldn't you have named it something unique?
An overwhelming number of programming-related things "pollute our natural language namespace". Off the top of my head: Ruby, Python, Java, Rails, React, Go, Rust, Elm, Dart, C, C#, Node, Next, Nest, Kafka, LaTeX, bash, fish, cat, Android, Apple, Windows… I'd be happy to search for this with "bubble tea framework" or "bubble tea tui" or similar and it doesn't bother me.
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#48This and the surrounding ecosystem was recently featured on an episode of The Changelog podcast. https://changelog.com/podcast/481
Thanks for sharing the show! Here's a transcript for those who'd rather read: https://changelog.com/podcast/481#transcript And a couple audiogram snippets from the conversation: https://www.youtube.com/watch?v=8-5WAKrt9GQ https://www.youtube.com/watch?v=OE5LzZbojX8
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#49Earlier quoted context omitted.
I bet you HATE the Go language name.
I call it "Golang". I also _hate_ the use of 1 letter variables in Golang. Give me three and make it easy to search for symbol names in my no-frills editor. /derail.
The single letter variable approach is sensible and not dogmatic -- e.g., `i` in a tight for loop makes sense.
Re: Bubble Tea: fun, functional and stateful way to build terminal apps
#50I spent a good chunk of time last week looking for a solid cross-platform GUI toolkit. I came to the conclusion that the terminal is the most portable GUI platform available. You can create an app that has windows, buttons, mouse support, etc, statically compile it for Windows, Linux, and Mac, and run it over SSH. The closest you can get to that with real graphics is using a toolkit built on OpenGL, and you'll be for…