News for hackers. Stuff that matters.
Re:Full-stack developers are in fact stuck at mid-level. Don... by XCabbage on Friday March 01, 2019 @08:13AM (#19280226)
Why? Old-school pre-ES6 explicit prototype wrangling was confusing, but what's wrong with using inheritance if you're writing in TypeScript (or, for that matter, a JavaScript version with classes)?
Re:Full-stack developers are in fact stuck at mid-level. Don... by perrohunter on Friday March 01, 2019 @08:58AM (#19280621)
Too much abstraction can be bad as well, many times I’ve written a nice class diagram to discover no one really needed to reuse certain functionality, a function would have sufficed :P
Re:Full-stack developers are in fact stuck at mid-level. Don... by seattle_spring on Friday March 01, 2019 @08:21AM (#19280296)
This article captures a few good reasons as to why composition is much preferred over inheritance:

https://medium.com/javascript-scene/a-simple-challenge-to-cl...