logoalt Hacker News

Pannoniae • yesterday at 2:04 PM • 0 replies • view on HN

As a less emotionally charged example (people get upset with being called stupid, justifiably) - the average size of an array or a list is less than 4.

With that many elements you'd be better off storing the elements as a tuple or a struct, but people often reach for a generic array container regardless.