> When comparing this: > > city.Language is not spanish and city.Population.isGraterThan(1000000) > > With this: > > db.Country.Name <http://db.country.name/> == 'France' and > db.Country.id<http://db.country.id/> == > db.City.country > > Well, we should compare your first line to the DAL equivalent:
(db.City.Language != spanish) & (db.City.Population > 1000000) I actually find that latter easier to process. The parentheses and & make it easier to see there are two separate conditions, and the != and > are easier to pick out and comprehend than "is not" and ".isGreaterThan()". A non-programmer may have an easier time with the more English-like version (assuming they happen to speak English, of course), but I think it's reasonable to expect even novice programmers to understand the basic boolean operators. Whatever your opinion on the "beauty" of one over the other, though, surely this doesn't justify the massive undertaking of building an ORM, particularly since you would still have to know and use the underlying DAL syntax in addition anyway. Anthony -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.