Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@wolf480pl @dragoonaethis @lanodan main issue i have with a lot of get-what-you-are-given language comes down to that. once you've determines some set of stanzas is indeed how you want to handle all of your objects... in TCL or Lisp you just make a macro. Now you move on with your lives.
in C you have to bloat the code up with the same stanzas all the time. even though we already know this is what a gobject does, this is how we iterate the iterators, and so on, but the language doesn't afford us a way to agree on that and move on.
so.. yeah. i can see that. gstreamer is one of those APIs that looks like dogshit because the bookkeeping can't be abstracted in a sensible way. (there is going away with OOP stuff entirely, but that carries... other costs. in something like nim or rust i don't really have to choose though.)