Hacker News new | ask | show | jobs
by saagarjha 30 days ago
Yeah I don't think this is too unusual, I'm not surprised that someone else has come up with it too. My point is that if you write it in Python you can get things like type hints, and use language features to make things nicer. Obviously there isn't much you can do to skip the part where you have to list fields and their types but using a string of C syntax seems kind of bad in any language that's not C work working with it directly.