4 ms·
What is the difference between having the DOM has a first class citizen and having a clean API on top of it?
by andreasvc 12y ago
What is the difference between having the DOM has a first class citizen and having a clean API on top of it?
- lgunsch 12y agoThe term "first class citizen" usually means there is a language syntax built-in for the feature that would be "first class." Dart has no such built-in syntax to deal with DOM elements. You have to use the API to manipulate the DOM. For example, the C language does not have OOP as a first class citizen. However, you can do OOP in C. GTK+ and GObject, for example, accomplish it.