Hacker News new | ask | show | jobs
by shangxiao 4290 days 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.
1 comments

My thesis is that by trying to write functional/imperative UI code you will create your own ad-hoc OOP system.