Satoshi Murakami

Results 71 comments of Satoshi Murakami

Note that we're already trimming leading spaces. This proposal seems natural extension to that. > shouldn't apply to single-quoted strings, e.g. "There's a space at the end. " I believe...

> I suppose there exists some desired behavior already The trimming process, derived from CoffeeScript, goes like: 1. If the last (but not first) line is space-only, trim it. 2....

Added function names there. Any other missing?

> working on an internal project to auto-standardize the syntax In that case you may want to use `--json`: ``` $ coco -aej 'for t of ts then' { "type":...

Whitelisting is the hardest part. Can't you simply use JSHint?

Hm, it's a trade-off. Take a look at [package.co](https://github.com/satyr/coco/blob/master/package.co). 1. `homepage : \http://satyr.github.com/coco/` 2. `\uglify-js : \1.0.6` The former would become invalid, meanwhile the latter would be able to remove...

_One less character_ is the whole point of the syntax. Should length matter?

> is \bb legal? Sure. > but I'm dubious of syntax that only removes a few keystrokes. Then transpilers like CoffeeScript/Coco, which exist purely for removing key strokes, is probably...

@scribu: > I think that's inaccurate. Uh yes, sometimes they add keystrokes as well. "_Changing_ key strokes" is more accurate. > The main goal, for CoffeeScript at least, isn't to...