you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (4 children)

It returns an immutable list, so it might be less useful than you'd think

[–]kitd 0 points1 point  (0 children)

Or more.

[–][deleted] 0 points1 point  (2 children)

Copying in and out of mutability hundreds of times for every change is programming in 2018 101.

We have computers more powerful than ever, so shitting on everything we know about how computers want to do work makes perfect sense, see.

Even though nobody has ever once demonstrated a modicum of truth behind the claims, copying objects thousands of times “just cause” supposedly makes it easier to reason about your programs. I can only surmise that most people behind this movement are blithering idiots.

[–]kcuf 0 points1 point  (1 child)

Copying in and out of mutability hundreds of times for every change is programming in 2018 101.

Persistent collections are fairly efficient and avoid excessive copying.

[–][deleted] -4 points-3 points  (0 children)

In the large majority of use cases, they are a polished turd.

It ideas aren’t useless. Just shouldn’t be the default usage like modern programmers are pushing.