3 ms·
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 mea
by notJim 15y ago
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 http://en.wikipedia.org/wiki/Language_Integrated_Query
- josegonzalez 15y agoYeah 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/ http://brianhaveri.github.com/Underscore.php/
- jond3k 15y ago+1. wish I'd seen underscore.php sooner!