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

> For instance the gl_ functions in this language create a control flow visible at the source level:

How is this superior to exposing control-structure like object (e.g. closures) and implementing the GL dsls as libraries? The above isn't any more readable, with an increased maintenance cost for the writers of Lobster.

I would say that available libraries is by far the most limiting factor for most languages, including (I'm assuming) Lobster.




It can be hard to say whether sugar is superior or not without having a lot of experience / pain with unsugared or partially-sugared ways of doing the same thing. In this case I'd agree with you that closures could do the job just as well with hardly any more syntactic overhead. We're also in agreement with respect to libraries. The home page for Lobster mentions C++ interop, but it's unclear without digging in how straightforward that is (e.g. if one has to rebuild the compiler).




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

Search: