News for hackers. Stuff that matters.
Re:Copying data is wasteful, mutating data is dangerous by pwm on Thursday January 09, 2020 @08:03PM (#22007585)
Exactly. The only problem is that you need a language with a sufficiently powerful type system that can express both phantom and existential types.
Re:Copying data is wasteful, mutating data is dangerous by chii on Thursday January 09, 2020 @11:34PM (#22008323)
> The only problem is that you need a language with a sufficiently powerful type system

why is that a problem?

Re:Copying data is wasteful, mutating data is dangerous by skosch on Friday January 10, 2020 @10:26AM (#22011585)
Because everyone and their grandma can whip up a quick Python script after a few days of practice, whereas learning Haskell is a much bigger investment?
Re:Copying data is wasteful, mutating data is dangerous by pwm on Friday January 10, 2020 @08:50AM (#22010873)
Problem in the sense that most typed languages don't have a sufficiently powerful/expressive type system.