Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thomasahle
on May 26, 2015
|
parent
|
context
|
favorite
| on:
Macros in Python: quasiquotes, case classes, LINQ ...
It's a cool project, but I think it needs more examples on the front page. The class example might as well have been a namedtuple.
davidshepherd7
on May 26, 2015
[–]
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
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: