I should add that I suspect the current convention is at least partially a
result of a practical focus on the thermodynamics of heat engines where
net work is done *by* the system due to net heat "done" (with a wink at
Jim Green) *on* the system. That's not a bad reason, but it reflects too
limited a view of the subject for my taste.