Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

It's not the butt-ugly code, but the copying. Yes, there are tricks to avoid copying an array just to update one element (if you don't have side effects ....), but at some point you just want to modify something.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: