3 ms·
This site is very sparse, and frankly mealy-mouthed. It doesn’t give any examples of what “frameworks” it would like us to reconsider. When I read articles lik
by jpxw 6y ago
This site is very sparse, and frankly mealy-mouthed. It doesn’t give any examples of what “frameworks” it would like us to reconsider.
When I read articles like this (why <insert technology> is “bloat”), I often feel there’s a level of arrogance behind it. Like the writer is just assuming that the readers haven’t considered the pros and cons of the frameworks they’ve chosen.
Since the article gives no examples of its own, let’s tak JS/React as an example. IMO, the upside of using React is absolutely enormous, and far exceeds the risks (especially given React’s excellent level of adoption, good ecosystem, etc). If we didn’t use React, we’d basically end up creating our own, shittier “framework” of informal conventions and abstractions, which would never be anywhere near as efficient/useful.
- dindresto 6y agoGood thing then that React is a library and not a framework. :) (only slight sarcasm)
- undecisive 6y agoExactly! The problem is, when do you consider a library more than a library though? And when do you consider yourself more bound to the "framework" than not? I'd say given the way that react completely inverts the way you structure the code you write, that's more of a framework packaged in a library. It's not a library you can just move away from (unless you like writing DOM compilers in your spare time, or you plan to move to one of the clones written by people who like writing DOM compilers in their spare time). Do we consider Ruby on Rails a framework? And if so (because the site makes the distinction...) is it the kind we should only use until we can "code without it"? What about in Java-land, Spring or Struts or Hibernate (or even Swing, though that comes packaged with Java so maybe isn't included in the question) - should these be avoided or embraced? (for reasons other than the horror show that each might be)? And then there's PHP frameworks - too numerous to number, but given the pain of trying to write secure PHP code definitely worth considering - do the security benefits outweigh the risks? I feel like the summary of the original post is "Know your stack" - and that's a great message - but the page conflates Frameworks (which are generally a good thing to use at least until you reach guru status) with spurious libraries that do next to nothing yet introduce another attack vector. I'm all for developing apps with fewer dependencies - libraries or frameworks. Totally against developing apps without frameworks.