Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can there be invalid CoffeScript?


of course, why not? any syntax can be broken.


I meant something that would not be detected when compiling to JavaScript from CoffeeScript. Maybe I got it all wrong and CoffeeScript just translates without performing any checks. Also I thought maybe the subset of code you can write with CoffeeScript can't be invalid, if it were wrong it just wouldn't work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: