Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

you can do that with namedtuples too; the problem is that tuples are immutable, so you cannot say e.g. `my_point3d.x = 10`


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

Search: