Alternatives to XML?

Chris Angelico rosuav at gmail.com
Wed Aug 24 21:26:59 EDT 2016


On Thu, Aug 25, 2016 at 2:50 AM, Peter Otten <__peter__ at web.de> wrote:
>> if _param.auto_party_id is not None:
>>     if on_insert:
>>         value = auto_gen(_param.auto_party_id)
>>     elif not_exists:
>>         value = '<new>'
>
> I think we have a winner here ;)

Agreed.

http://thedailywtf.com/articles/The_Enterprise_Rules_Engine

If you create a non-code way to do code, you either have to make it
far FAR simpler than code, or... you should just use code.

Use code.

ChrisA



More information about the Python-list mailing list