Drop type prefixes for functions #17961
soerenwolfers
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Having to write
map_keys(my_map)
instead ofkeys(my_map)
, orlist_filter(my_list, x -> x > 0)
instead offilter(my_list, x -> x > 0)
(but for some reasonlen(my_list)
instead oflist_len(my_list)
) feels clunky and "unfriendly".I'd prefer simply dropping these prefixes entirely. If this is absolutely impossible for some reason, maybe could the prefixes at least be dropped for fluent-style invocations, a la
my_map.keys()
/my_list.filter(x -> x > 0)
?Beta Was this translation helpful? Give feedback.
All reactions