Combine default parameters and destructuring for a compact version of the defaults / overrides pattern.
function foo ({
bar = 'no',
baz = 'works!'
} = {}) {
#!/usr/bin/env python3 | |
""" | |
LMDB parser and proper name filter. | |
This script uses LMDB database [1] to extract all proper names. | |
[1] http://donelaitis.vdu.lt/~vytas/lmdb/ | |