by slippyt · 11y ago · 0 comments
It goes further than this: a good framework can lower the barrier to writing maintainable, modular code. Sometimes people just need a nudge to follow good practices.
Many JS frameworks enforce their own brand of modularity (complete with boilerplate) that isn't transferrable to other projects, frameworks or languages.
They don't necessarily teach you how to write modular code in general, just how to write modules within their architecture. There's a difference.
Edit: Not to say there isn't value in introducing a newbie developer to modules. Just not all frameworks are created equal. :)