|
|
Subscribe / Log in / New account

Huge interfaces

Huge interfaces

Posted Apr 17, 2012 10:02 UTC (Tue) by oldtomas (guest, #72579)
Parent article: Libsecret revealed

Disclaimer: I seem to be atypical here. But just the plain sight of those huge programming interfaces[1] plainly horrify me. Nearly twenty functions for the "simple" (!) interface and a dash over 110 (!!) for the complete interface.

There was a time I enjoyed programming against GTK+. This time passed long ago. These days, the sheer amount of symbols represent a burden on the memory footprint (the GTK bindings for Lua are bigger than the whole language implementation -- and the language implementation has a "real" garbage collector on-board instead of that cheesy reference counting of GTK).

Ouch.

No, I'm not disparaging Stef Walter's work here. Far from it. I just have the impression that there's something missing in the overall process.

[1] No, I don't like the word "API". It comes from Microsoft-land and connotates "here are we, the system programmers -- there are you, the applications programmers, and you have to make do with whatever we throw at you as an interface, whatever contorted it may be". Free Software World is different, ain't it?


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds