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

They didn't make it very clear, but I think the embedded SQL idea is meant to be for things like querying against collections, similar to LINQ[1]. Even it's meant for databases, it's still up to you where in the app you put it.

That being said, my initial reaction is to wonder why, when designing a new language, one would model after PHP of all things.

1: http://en.wikipedia.org/wiki/Language_Integrated_Query




Yeah I'm also not a fan of linq. Or at least not in my PHP.

I think something like underscore.js[1] would be much more in the style of PHP - I always thought PHP and JS were similary in their wackiness - and I would much prefer it to LINQ.

As far as modeling after PHP, there are things I'd leave/take, but really the biggest issue is the standard library.

1: http://brianhaveri.github.com/Underscore.php/


+1. wish I'd seen underscore.php sooner!




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

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

Search: