Is it bad style to override the built-in function `type`?
Michael Herrmann
michael.herrmann at getautoma.com
Mon Dec 3 05:57:30 EST 2012
More information about the Python-list mailing list
Mon Dec 3 05:57:30 EST 2012
- Previous message (by thread): Using Xpath to parse a Yahoo Finance page
- Next message (by thread): Puzzling error msg.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Rusi, > Im entering this thread late (was off mail for a week), so pardon me > if someone has already said this -- but have you looked at the > difference between internal and external dsls: > http://martinfowler.com/bliki/DomainSpecificLanguage.html (and links > therein) ? > Roughly speaking if what you are making is an external dsl, then its > not really python (it may be python-inspired but thats not really > germane) and so reusing python lexemes/structures etc in ways not > exactly consistent with python usage should be no issue > > If its an internal DSL, you are headed for causing/suffering grief. > > I looked at your site [yes it looked almost interesting -- if only it > ran on linux :-( ] and I cant really decide whether to classify it as > external or internal We want to capitalize on all of Python's advantages (tool/IDE support, available libraries etc) and are thus strictly offering an internal DSL (see http://www.getautoma.com/features/python_integration). As you pointed out, that's why it's important to stay consistent with Python's conventions. I agree it'd be nice to have Automa run on Linux, but unfortunately that's still a long time away... Best, Michael
- Previous message (by thread): Using Xpath to parse a Yahoo Finance page
- Next message (by thread): Puzzling error msg.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list