News for hackers. Stuff that matters.

or10nx

Re:Go 1.21 on Wednesday June 21, 2023 @11:42PM (#36427780)
> Python's semantics with the list type are a constant surprise to newcomers.

Care to elaborate?

Re:a[low:high:max] in Golang – A Rare Slice Trick 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.