Having a hard time choosing between Svelte and Elm. For a lone in house dev, any recommendations?
I'd say Svelte is much closer to "regular" programming. You will have to bend your thinking a bit with Elm. Svelte seems great, but it seems to be developed by one person primarily. Also, that person lives in NY and the project looks paused at the moment.
The Svelte Compiler Handbook
41–50 of 139 posts
Re: The Svelte Compiler Handbook
#42Nice to see excalidraw.com used for the illustrations!
https://blog.vjeux.com/2020/uncategorized/reflections-on-exc...
Re: The Svelte Compiler Handbook
#43I'm surprised Apprun nor Solid have been mentioned yet. Are there any TypeScript reactive frameworks? I know you can use TS with the others, but finding tutorials can be a pain since it all these are JS first frameworks.
I'm actually working on one. I don't know what will come out of it, but it's an interesting endeavor. As soon as it's shareable I will share it on Github. I'm basically trying to do a superset of typescript where you create elements so: const root = c({ el: 'div', children: [ `hello, ${store.user.name}` ], attr: { class: 'bold smart', id: 'abc', bla: true, }, evts: { click: () => { console.log("Clicked") } } }); And…
Re: The Svelte Compiler Handbook
#44Earlier quoted context omitted.
I'd say Svelte is much closer to "regular" programming. You will have to bend your thinking a bit with Elm. Svelte seems great, but it seems to be developed by one person primarily. Also, that person lives in NY and the project looks paused at the moment.
That person is also a jerk (in my experience)
Re: The Svelte Compiler Handbook
#45Earlier quoted context omitted.
The problem with Svelte is it doesn't support Typescript. You pretty much need that on any reasonable size project unless you are happy to spend your life tracking down runtime bugs. Vue has a similar problem (it sort of supports Typescript, but not properly and templates aren't type checked). I've not used Elm so maybe that is better. React has good support for type checking. I would use that.
> Typescript. You pretty much need that on any reasonable size project unless you are happy to spend your life tracking down runtime bugs I'd say it depends on your teams skill set and level of disciple. The best defence against a buggy codebase isn't a programming language or framework, its good all fashioned discipline.
Navigating through code, refactoring, or simply figuring out what to pass as function input can become a challenge in the absence of types.
Re: The Svelte Compiler Handbook
#46Having a hard time choosing between Svelte and Elm. For a lone in house dev, any recommendations?
The problem with Svelte is it doesn't support Typescript. You pretty much need that on any reasonable size project unless you are happy to spend your life tracking down runtime bugs. Vue has a similar problem (it sort of supports Typescript, but not properly and templates aren't type checked). I've not used Elm so maybe that is better. React has good support for type checking. I would use that.
Re: The Svelte Compiler Handbook
#47I'm surprised Apprun nor Solid have been mentioned yet. Are there any TypeScript reactive frameworks? I know you can use TS with the others, but finding tutorials can be a pain since it all these are JS first frameworks.
I'm actually working on one. I don't know what will come out of it, but it's an interesting endeavor. As soon as it's shareable I will share it on Github. I'm basically trying to do a superset of typescript where you create elements so: const root = c({ el: 'div', children: [ `hello, ${store.user.name}` ], attr: { class: 'bold smart', id: 'abc', bla: true, }, evts: { click: () => { console.log("Clicked") } } }); And…
For reference, in Svelte that’d be something like this, which is shorter and more obvious:
{ console.log("Clicked") }>
hello, {store.user.name}
Re: The Svelte Compiler Handbook
#48I’ve been working on a side-project, that allows recording and playing back interactive, guided walkthroughs of a codebase. This seems like an excellent “test case“ for that experience, which I might have to experiment with :)
Re: The Svelte Compiler Handbook
#49Earlier quoted context omitted.
I'm actually working on one. I don't know what will come out of it, but it's an interesting endeavor. As soon as it's shareable I will share it on Github. I'm basically trying to do a superset of typescript where you create elements so: const root = c({ el: 'div', children: [ `hello, ${store.user.name}` ], attr: { class: 'bold smart', id: 'abc', bla: true, }, evts: { click: () => { console.log("Clicked") } } }); And…
That is awfully verbose.
Re: The Svelte Compiler Handbook
#50Having a hard time choosing between Svelte and Elm. For a lone in house dev, any recommendations?