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

Yeah, that's one of my biggest pet peeves when looking at other people's code (along with unnecessary dynamic allocations in general). One of the reasons I perhaps irrationally still prefer C++ to Rust is the pervasive use of dynamic arrays of known static size in the latter's documentation, and how it makes fixed-size arrays much less ergonomic to use than dynamic arrays.


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

Search: