Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
davidshepherd7
on May 26, 2015
|
parent
|
context
|
favorite
| on:
Macros in Python: quasiquotes, case classes, LINQ ...
Their argument [0] against namedtuple is that the namedtuple implementation is basically a hackier macro anyway (format a string then eval it). But I agree that it's not the most impressive example of what you can do with macros (see my other post).
[0]:
https://github.com/lihaoyi/macropy#skeletons-in-the-closet
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0]: https://github.com/lihaoyi/macropy#skeletons-in-the-closet