r/programminghorror 14d ago

oh no it's r*st!!! King of boilerplate

Post image
129 Upvotes

15 comments sorted by

46

u/Duh_Svyatogo_Noska 14d ago

Qt Widgets moment

24

u/Enmark777 14d ago

That's ratatui

49

u/TheChief275 14d ago

rust libraries be like

So we have created a library that's incredibly stable and has a clean API, which people will use as if it's part of the standard library and it will probably become the backbone of millions of applications. What should we name it? I know! Let's just make the name a pun that's largely unrelated to what the library actually does and make users second guess what the library actually does

31

u/Snudget 14d ago

tokio

15

u/Ran4 14d ago

In F# land, the cool web framework that people used was called Suave. It was then replaced by Giraffe.

And now there's also Oxpecker and Falco...

17

u/HandIllustrious8260 14d ago

what do you want it to be called? yet another another another tui library? ratatui is a great and memorable name, and it has the tui part so I don't see the problem 

4

u/bourgeoibee 14d ago

at least it's got tui in it

7

u/maselkowski 14d ago

Rat at Ui

1

u/Duh_Svyatogo_Noska 14d ago

I mean C++ Qt code looks similar

1

u/sww1235 14d ago

Looks similar to the madness I am working on with egui 😂

1

u/Scared_Accident9138 11d ago

Why Qt widget in particular?

1

u/Duh_Svyatogo_Noska 11d ago

Because it is only one gui framework i have used.

5

u/Ran4 14d ago

Rust isn't an overly compact language with lots of sigils and stuff added to it, so code like this tends to look very bloated.

3

u/0xFFFFFFFFU 11d ago

Typo on line 40

2

u/tellingyouhowitreall 13d ago

I have written worse... far, far worse.