News for hackers. Stuff that matters.
Re:Svelte – A UI framework that compiles into tiny standalon... by bryanrasmussen on Wednesday November 30, 2016 @10:25AM (#13071422)
true, but when there is something unexpected about how the AJAX request or the HTTP server are working then debugging is going to be harder because of the abstraction.
Re:Svelte – A UI framework that compiles into tiny standalon... by TeMPOraL on Wednesday November 30, 2016 @11:01AM (#13071764)
No, the work in fact will be easier - because something unexpected will either happen above, below or on abstraction boundary - as opposed to "somewhere in this big blob of function invocations". Also, you'll get to fix the bug in one place instead of having to hunt down every similarly looking piece of code because it may contain the same issue.
Re:Svelte – A UI framework that compiles into tiny standalon... by shoq on Wednesday November 30, 2016 @10:35AM (#13071521)
Is it really? If there is an error it's either the abstraction or the concrete usage it stems from.
Re:Svelte – A UI framework that compiles into tiny standalon... by bryanrasmussen on Thursday December 01, 2016 @02:56AM (#13077949)
I guess I agree with that; I was thinking specifically in framework defined abstraction / usage.

And if the framework has abstracted away something that you end up needing to understand - well bad framework or bad usage I guess, but still difficult to figure out what's going on.