Move Foundation.Data in to the standard library

Actually I have one objection regarding the current topic. I think Data is a very commonly used type, but it has some flaws that were made due to limited time frame and resulted into a design that is not consistent with the rest of the standard library types. Here I'm speaking about Data's views/slices which lead to unexpected crashes if you forget that any Data can be a view/slice of one original Data instance. I bumped myself into that and asked here for clarification. If Data continues to be inconsistent to the rest of the stdlib type then I'd be against it's migration from Foundation.

2 Likes