On 2017-06-04 21:52, Andrei Alexandrescu wrote:

What would be the advantage of moving the default into a hook?

The whole idea was to reduce the number of "static if" in the implementation.

Hook function is defined: "I want to hook this entire operation."

Hook function is not defined: "I am not interested in hooking this
operation."

If hook is always defined, the shell cannot identify what a particular
hook has an interest in.

Right.

--
/Jacob Carlborg

Reply via email to