3 ms·
"Those people will go to their graves, never knowing how miserable they are" :-) See 5:30 into video (on ES6): https://www.youtube.com/watch?v=PSGEjv3Tqo0 ht
by Roboprog 11y ago
"Those people will go to their graves, never knowing how miserable they are" :-)
See 5:30 into video (on ES6): https://www.youtube.com/watch?v=PSGEjv3Tqo0 https://www.youtube.com/watch?v=PSGEjv3Tqo0
I have been doing a fair amount of JS work in an app using Angular this year. I don't use much inheritance of any kind, mostly FP techniques and "objects" (associative arrays) as aggregates.
If you use "closure" variables instead of "this", it's pretty easy to graft functions from one aggregate to another for code reuse.