felipecrv commented on PR #40761: URL: https://github.com/apache/arrow/pull/40761#issuecomment-2118215934
> Aha... I see that maintaining both C++ and Python code identically may complicate maintenance. To make what I posted last night more concrete, an example: the predicate `is_list_like` can't consider list-views "list-like" because list-views were added after the `is_list_like` predicate existed. We ended up in a situation where `fixed_size_list` and `map` are list-like, but list-views aren't. It's the right thing to do to not break existing code, but is very confusing to newcomers. We shouldn't re-use the same names on the Python side with different meaning from what we have on the C++ side, but if backwards-compatibility issues aren't the same on the Python side, we could do better. <img width="1064" alt="Screenshot 2024-05-17 at 15 59 02" src="https://github.com/apache/arrow/assets/207795/9ea5ab41-ba56-4c3f-862e-dc56db85a3b7"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
