4 ms·
I have a huge functional programming proponent, but not when it comes to UI components, in my opinion this is the one and only place that OO shines, now in sayi
by kls 7y ago
I have a huge functional programming proponent, but not when it comes to UI components, in my opinion this is the one and only place that OO shines, now in saying that I am not a big fan of deep nested inheritance, I prefer wrappers around more generic objects that delegate to the more generic object, but that is a personal preference. I am not too keen on hooks myself and prefer to use class based components to represent UI black boxes.