G. H. Hardy wrote (apropos of the task of assigning values to divergent series):
It is plain that the first step towards such an interpretation must be some definition, or definitions, of the 'sum' of an infinite series, more widely applicable than the classical definition of Cauchy. This remark is trivial now: it was not a triviality even to the greatest mathematicians of the 18th century. They had not the habit of definition: it was not natural to them to say, in so many words, `by $X$ we mean $Y$'. There are reservations to be made ... but it is broadly true to say that mathematicians before Cauchy asked not 'How shall we define 1-1+1-…?' but 'What is 1-1+1-…?', and that this habit of mind led them into unnecessary perplexities and controversies which were often really verbal.
Are there good accounts of the process by which the mathematical community came to adopt the habit of definition? Also, did Cauchy have a fully modern attitude? For instance, did Cauchy ever apply his definition to conclude that such-and-such a series does not converge?