4 ms·
>I'm confused by the discussion of OO I don't think anyone's saying you can't do it without OO. Just that existing popular patterns for UI tend to rely on OO
by tyingq 4y ago
>I'm confused by the discussion of OO
I don't think anyone's saying you can't do it without OO. Just that existing popular patterns for UI tend to rely on OO patterns like inheritance and classes with instances, and easy-ish namespacing and ownership concepts that map to those ideas.
So doing it without OO is harder, as it requires something different, that may be studied, but is less well explored and documented to the average person.
I recall similar discussions about doing UIs in C. GTK, for example, sort of fakes OO in C, I assume for related reasons.
- hdhrufjdi 4y agoAll frameworks that I know for WebApps, don't rely on OO though. React, Angular (esp. with ngrx), Svelte Yew and Leptos don't fake oop either
- tyingq 4y ago>All frameworks that I know for WebApps, don't rely on OO though Sure, though they rely on a lot of things that are only bundled with a web browser like the DOM and CSS and their concepts of namespacing, encapsulation features, etc.