I am wondering if it possible to short circuit the check for the existence of a key in a dict and an immediatly following assignment to a variable with that key if it exists.
That is, if the following code can be abbreviated to something like let s:val = s:tq84_dict['foo'] || 'default'
(which won't work in vim script)
if has_key(s:tq84_dict, 'foo')
let s:val = s:tq84_dict['foo']
else
let s:val = 'default'
endif