Hacker News new | past | comments | ask | show | jobs | submit login

I think it's really easy to confuse "cute" with "more productive", and the vast majority of attempts at creating DSLs are the former. I think very few are worth their weight, since it seems I always eventually have to be aware of their exact nuances and code paths anyway, and that being so I'd much rather just see ordinary syntax.



Coffeescript optional parenthesis and much shorter syntax for closures are a big help in diminishing the noise, which is crucial to make a DSL. Without these, some DSLs become so cumbersome that they are in fact unwieldy.

For instance: nobody uses nested closure[1] techniques in java, because anonymous classes are too much of a verbose implementation of closures, not to mention that they can only close over final variables, making it even more cumbersome

[1] http://my.safaribooksonline.com/book/software-engineering-an...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: