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

> Functional code can create significantly fewer objects

Immutability means the number of individual objects explodes.

It also means those are easier to garbage collect, so you can have several different algorithms acting on different time-frames, alleviating the problem for the slower ones.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: