> On 26 Dec 2021, at 02:16, Steven D'Aprano <st...@pearwood.info> wrote: > >> Hard enough that you really ought to help your reader out with a >> name, > > What are you going to name it? > > Int_and_Float_and_Int_returns_List_of_Int_Function > > tells us nothing that > > (int, float, int) -> list[int] > > Callable[[int, float, int], list[int]] > > doesn't already say.
It was said earlier in this thread that the naming should depend in the problem domain. That name will not be as you suggest a long wordy thing but have a name that is easier to understand. So it might be CostFunction that would be a great name in that problem domain. Barry
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/DKCKTY4TOKKI2IJNORX6RPT7XQF3GP7J/ Code of Conduct: http://python.org/psf/codeofconduct/