mossaiby
mossaiby
As I have already commented on sveltejs/svelte#530 the argument that *there should be less things for people to learn*, can be applied to *any* language that supports `switch` statement (even...
I vote for the first one; even though the second one is as good.
> > > When I have time I think I will start working on making this new feature, but I'm not very familiar with the svelte source code so it...
> > One of the confusing things about the `switch` statement is that the `break` statement is usually needed but is frequently forgotten. How should we handle it here? Add...
> > > > > One of the confusing things about the `switch` statement is that the `break` statement is usually needed but is frequently forgotten. How should we handle...
> > > ``` > {#switch variable} > {:case 'a'} > > {:case 'b'} > {:case 'c'} > > {:case 'd'} > > {:else} > > {/if} > ``` Too...
> > > Using a `{:else}` block (instead of a `{:default}` block) would make sense because it's already used with that spirit in other contexts. Example: > > ``` >...
Can maintainers comment on this RFC? There are some people here that think it is very nice to have this feature. Also, it seems that the syntax is (almost) agreed...
perf, anyone? #128
Let me add that in Julia, the string concatenation is performed using `*`. It was odd for me at first, but became natural when I thought of it as in...