Why you should make sure that your function params are extensible ?
ashu1461.com
ashu1461.com
Which means that your code sucks and is badly structured.
As for readability argument, I can't not ask why are not all languages using Python's approach by now?
If you dislike everything else about Python, I am sure you can't dislike the fact you can do
create_user(id=generate_uuid(), name='Lucky Luke')
instead of or in addition to create_user(generate_uuid(), 'Lucky Luke') track_activity(customerId: string, eventId: string, pageId: string, pageName: string, sessionDuration: number)
This can always be refactored into track_activity(event: Event)