On Wednesday, 4 October 2017 at 09:52:39 UTC, aberba wrote:
Upon reading this, It triggered an idea.
On Saturday, 30 September 2017 at 16:10:44 UTC, Jonathan Marler
wrote:
[...]
Upon reading the DIP, it reminds me of object destruction.
// extracts success & message from returned type. Could be
tuple or structure, etc. May even eliminate use of tuples for
multiple return
auto {success, message} = callVoldermortFunction();
This is concept is used in Kotlin. JavaScript es6 takes it even
further (function parameters and arguments support object
destruction)
Oops. Wrong place. Will repost in general.