Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by guilherme-puida on Friday September 09, 2022 @03:58PM
(#32784125)
If the DOM api is not expressive enough, you end up having to wrap it with your own custom abstractions. At that point, is it not better to use a battle-proven abstraction?
[ Parent
| on HN ]
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by tgflynn on Friday September 09, 2022 @04:07PM
(#32784234)
Only if they're clearly better than the abstractions I would come up with. Which is rarely the case, especially if most of these frameworks were developed in an ad hoc manner without deep consideration of what the fundamental problems are that need solving, and even more so if they had to incorporate workarounds for browser issues that are no longer very relevant in 2022.
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by wonnage on Friday September 09, 2022 @04:49PM
(#32784727)
sounds like someone has a bad case of not-invented-here
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by spoils19 on Friday September 09, 2022 @10:14PM
(#32787063)
Sounds like someone had a bad case of framework chasing and hype driven development. I support the original poster as developing your own is always better than reusing, no exceptions.
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by phist_mcgee on Friday September 09, 2022 @11:26PM
(#32787472)
I've worked on codebases like your's before, where in-house 'we can do it better' reigned. In my experience it never was better, and when the grand wizard holding it all together got hit by a bus, everyone was blocked.
Frameworks are a common understanding that people can plug and play into. And yes, that's a critical part of maintainable code, the ability for a person to quickly get up to speed and fix things.
Re:Ask HN: What happened to vanilla HTML/CSS/JS development?
by guilherme-puida on Saturday September 10, 2022 @12:13AM
(#32787750)
Do you work alone though? Do all people in your team agree with your technical decisions? If you left the team, would someone be able to maintain and improve your hand-rolled framework?