News for hackers. Stuff that matters.
Re:a[low:high:max] in Golang – A Rare Slice Trick by or10nx on Sunday March 19, 2023 @02:24AM (#35216534)
> People fret about the difference between T[] and List<T> in C#

That doesn't align with my experience. I've worker for small (4 programmers) and large (100s of programmers) C# shops, and I don't recall people "fretting" about T[] and List<T>. People see T[] as a non-growable, less useful version of List<T>. HashSet<T> vs List<T> seems to cause much more trouble for novice (and sometimes experienced) C# programmers.

Re:a[low:high:max] in Golang – A Rare Slice Trick by klodolph on Sunday March 19, 2023 @11:16PM (#35226828)
I'm thinking more about the places where people care about performance, since accessing a T[] is faster than accessing a List<T> (less indirection).