15 ms·
I write a lot of interactive SVG based user interfaces in JavaScript and always default to using "classes" to represent composable elements in the UI. I've rec
by shangxiao 12y ago
I write a lot of interactive SVG based user interfaces in JavaScript and always default to using "classes" to represent composable elements in the UI. I've recently been wondering about whether writing UI code with a functional language would even be possible. When it comes to data manipulation though I will always use underscore.
- scscsc 12y agoMy thesis is that by trying to write functional/imperative UI code you will create your own ad-hoc OOP system.