News for hackers. Stuff that matters.
Re:Give PonyORM a chance by mantrax5 on Monday May 26, 2014 @09:40AM (#7799680)
"foo > 123 or foo IS NULL and bar < 12"

Now write this in SQLAlchemy without strings, without concatenation, and let's see which provides you with more clarity.

Re:Give PonyORM a chance by benselme on Monday May 26, 2014 @11:07AM (#7800007)
(FooBar.foo > 123) | (FooBar.foo == None) & (FooBar.bar < 12)

No strings, and I get an actual expression object instance that I can, for example, store in a variable and reuse in any number of queries.

Re:Give PonyORM a chance by coleifer on Monday May 26, 2014 @01:20PM (#7800624)
Yes! Plus if you have a syntax error Python will catch it for you. Peewee works the same way.
Re:Give PonyORM a chance by anton_gogolev on Monday May 26, 2014 @09:43AM (#7799694)
LINQ. Composable queries rock.
Re:Give PonyORM a chance by personZ on Monday May 26, 2014 @10:20AM (#7799791)
LINQ is a black-box that is often disastrous for application performance. The more LINQ in a project, the more likely the project is headed to failure.
Re:Give PonyORM a chance by anton_gogolev on Monday May 26, 2014 @10:28AM (#7799814)
First of all, are you aware that LINQ is not only about database access?

Second, how is it a black box? It is the particular query provider implementation that is a black box.

Third, there's absolutely no correlation between the amount of LINQ and success of a project.

Re:Give PonyORM a chance by personZ on Monday May 26, 2014 @11:58AM (#7800266)
are you aware that LINQ is not only about database access

Yes, I am aware. How is this relevant at all to the context of this thread?

The rest of your comment: You are simply wrong. A heavy use of LINQ is one of the surest sign that one needs to run from a project. It is almost always used and embraced by people who have no concept of the consequences, imagining that the conciseness of LINQ = programming goodness, when the opposite is generally true.