News for hackers. Stuff that matters.
Re:Svelte – A UI framework that compiles into tiny standalon... by dangoor on Wednesday November 30, 2016 @08:00AM (#13070311)
Taken to its extreme, that argues for writing everything in assembly language.

React's virtual DOM diffing makes components more readable than the previous style of writing code to explicitly manipulate the DOM and totally hides what's really happening. However, we trust that it's going to do the right thing, just as we trust that the JavaScript engine will do the right thing when it JITs and interprets our code.

Re:Svelte – A UI framework that compiles into tiny standalon... by k__ on Wednesday November 30, 2016 @08:37AM (#13070508)
The point is, don't take things to the extreme :)

It's not that people said "Everything is bad, do assembly". It's just that people identified 2WB as problematic and you just shouldn't do that one thing.

Re:Svelte – A UI framework that compiles into tiny standalon... by dangoor on Wednesday November 30, 2016 @08:54AM (#13070637)
What I find interesting is that while I actually agree that 2WB as was done before was problematic, MobX which looks like previous-generation 2WB may actually be just fine because of features specific to its implementation of the idea (actions, and better tools for use in development)
Re:Svelte – A UI framework that compiles into tiny standalon... by mhd on Wednesday November 30, 2016 @09:05AM (#13070747)
Currently JS frontend folks also classify MVC as "problematic", yet a lot of successful software was written that way. So along with J2EE folks, this isn't really the community to look for style standards by default.
Re:Svelte – A UI framework that compiles into tiny standalon... by TeMPOraL on Wednesday November 30, 2016 @11:02AM (#13071781)
Honestly, given that I know of no two developers that have the same understanding of what MVC is and how the code should be divided, I have a feeling there's something wrong with the pattern itself, too.
Re:Svelte – A UI framework that compiles into tiny standalon... by lukifer on Wednesday November 30, 2016 @04:06PM (#13074695)
I don't have a link handy, but I read a piece by one of the original MVC pioneers claiming that the pattern was designed for encapsulated components, usually fairly small, not entire applications. I suspect many of the quirks and disagreements between different MV* architectures derive from this fundamental misapplication of the pattern.