Marcelino Deseo

Results comments of Marcelino Deseo

This makes me wonder if we can have a plugin that handles code formatting? I created the plugin below to use `python`'s `black`, based on `go` plugin. This makes me...

Well, you can simulate it, taking advantage of JS's closures ``` count = (start = 0, step = 1) -> start -= step -> start += step countFrom10By2 = count...

``` # Not Working f = -> obj = s: f 1, null f = -> obj = s: f 1, true f = -> obj = s: f 1,...

Also this one ``` [] = 1 {} = [1, 3, 5] [] = {} ``` I think is has to do with attempting destructuring assignment.

The expression `[] = 1` will generate the JavaScript `false;` ``` > coffee -bpe "[] = 1" false; ``` Using your first example, when the expression `[[]] = f()` is...

Yes, I agree, an error should be thrown when a string is passed in the ranges for now. However, supposed the type of the arguments in the range is determined...

@michaelficarra Yeah, it's more of design goal for CoffeeScript. Reading through #1197 I found your comment helpful. > We compile for human-readability and performance, followed by code size. It is...

I return to the issue and it appears that `break` and `continue` within the loop expression returns result ``` coffee-script a = for item in [1...10] if item

I'll be closing this since it appears that the returned array from the said is consistent with the behavior of the loop with `if` and `break` or `continue` in it.

+0.5 :-) The proposed construct looks good, though I have a feeling that using `&` is not good because it's used in [JS bitwise operation](https://developer.mozilla.org/en/JavaScript/Reference/Operators/Bitwise_Operators). However, since it's unary, then...