Live data from Hacker News

Libui: a portable GUI library for C

github.com

161–164 of 164 posts

Re: Libui: a portable GUI library for C

#161

Earlier quoted context omitted.

I find if you maintain an open source project as if your users were customers, things tend to go pretty smooth.

Can you explain how you found that?

By trying it, and realizing afterwards that nothing bad happened as a consequence.

The main benefit is that it forces one to try to be professional and consistent, and to avoid being flippant, cryptic, didactic, and condescending.

Keep in mind that cutting customers loose is a natural part of the game, too. If someone demands to get a Big Mac at Chipotle there's no law that says they get to block the line for eternity.

Re: Libui: a portable GUI library for C

#162

Earlier quoted context omitted.

Decisions are made by those who show up. I agree with your point about reading the signals of which projects are probably the best. But with great power comes great responsibility. It's entirely possible YOU are the person who makes this project great, just by the Butterfly Effect of getting the documentation good enough that the next person who comes along will be willing to choose this and push a little harder, and…

> But if you show up, you get to make decisions. That's not true with documentation. the decision has already been made. if you show up later and write the docs then you're just hoping you interpreted the decision correctly and aren't misleading people.

Isn’t that what the PR is for? one would assume “send a PR for docs” means “i’ll review before merging”. it seems like nobody wants to write the docs and the author already wrote the code so why double tax him when he is doing this all for free?

Re: Libui: a portable GUI library for C

#163

A lot of the comments have mentioned the lack of documentation this project has, and then they've received replies of the form "you should submit a pull request, the author doesn't owe you anything". Here's my take on it: I don't owe the author anything either. But if I'm considering which project to use, I'd probably choose the one with documentation, since it signals better goals and higher code quality. It's absur…

Documentation gives at least the functional, if not detailed, requirements for what the code is supposed to do (as well as not do). "Submit a pull request for documentation" is basically "please write down the set of requirements for what you think I might have coded up here and send them to me" which is an absurd way to do engineering, regardless of considerations of licensing and compensation structure. It's okay t…

The README says right there that they haven't found a good autodoc tool for C and that their API instability makes it burdensome to maintain documentation right now; calling them bad engineers for that is a bit much. Their only "mistake" is being a project for which outside enthusiasm has far outpaced its progress.

Re: Libui: a portable GUI library for C

#164
post #84

On Unix this seems to map to GTK+, so I guess it's a bit like wxWidgets then? Interesting but since GTK+ itself is cross-platforms it feels a bit heavy to wrap it.

> GTK+ itself is cross-platforms Only in theory. It does not look and behave even close to native anywhere except on GNOME 3 with default settings.

Uh, no, it's not aiming to be a "native-looking" interface, it's GTK+ on all supported platforms.
Post reply on HN