Felipe Nascimento

Results 16 comments of Felipe Nascimento

I'm late to the party, but I want to share my thought on this as well. I like CoffeeScript a lot, but never had the opportunity to create any sizable...

I also agree `:=` is not the greatest for typing. It's used for attribution in many languages, like Python, Pascal, GoLang, GDScript... I personally like the use of `implements` as...

As for a more compact approach, would it be impractical to use the `::` syntax that [TypedCoffeescript](https://github.com/mizchi/TypedCoffeeScript) tried to implement?

> Could you explain how this would work? Are you parsing as `(foo = bar) implements int`? Or did you mean `foo implements int = bar`? (This is the notation...

> moving an assignment into a loop will prevent typing It was not. [TS is capable of inferring that as well](https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgGIHt3IN4ChnJwBcyIArgLYBG0+yVJAzmFKAOZ0ID8JVmANhDghcAX1y5BYZDEwBuXLKjIAFFOTBkAXmQAGORuQAeZAEZ9GgNSWAlDjqysO7IRIBWADT0SAckc-kUUJGNEwxRUwAOgRtZAB2CQR0EGZ6OGUdAG0AXQjlNQhpTR0LTRNzA2BrOzwCKnTIgAcyRgALFRdiZE9vZD9MAKC4EIx0G3DHWPqoTN1soA).

Oh, I didn't thought of that case. Using `let`, but still inferring type could be done creating an auxiliary variable for first assigned block. ```coffeescript for ... x = 5...

Following this idea of type in type inference, I've discovered [Hegel](https://hegel.js.org/), which looks very promising. It's more sound, better in inference and have an easier syntax to work with, but...

So how would source mapping work for this? Can we source map Typescript errors and compiled code back to CoffeeScript?

I can't think of a good syntax that builds upon previous iterator syntax (`yield` and `from`), while being clear and readable. If we make an exception and drop one of...

> So this is achievable today via that package wrapping the comprehension, e.g. `arraygen(somethingExpensive item for item in list)` No, it doesn't. Wrapping the comprehension that way, you'll iterate over...