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

First, you'd still have optional mutability. Second, arrays are rather simple data structures, but ones where you often care about performance--small tight loops are common. Compare that to the data structure that eg holding your options and flags for the computation: you don't do much computation on that, but you have lots of invariants that you want to uphold---ie lots of code, but each bit executed roughly once, no tight loops.


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

Search: