|
|
|
|
|
by Demiurge
42 days ago
|
|
Named arguments are a great feature in Python. I often forget TypeScript doesn't have this, but I use the object form all the times. As a bonus, you can also declare these arguments in an object an interface type, aptly named. |
|
create_user(user, is_admin=True, send_welcome_email=False);
Not even article-worthy.