Hacker News new | past | comments | ask | show | jobs | submit login

I went down this path until I tried to run pdb or profilers on mixed language stuff, result was not great.

Python is already fairly OK, use decorators instead of def macro, metaclasses if you need to get into head-scratching territory etc. Use the 4 argument form of the type function, belabor __new__ etc it will still be readable instead of a pile of nail clippings

I think I'd rather work with macros than metaclass magic.

I've used both, and a big difference is that the normal Python tools work for metaclasses, but I'm not sure if you can do step through debugging of a macro?

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact