I’d argue that it could be a good thing but not always. And certainly not as a rule.
Wading through 100 tiny functions, most of which are only called once is a serious impediment to understanding. Where it makes sense I totally agree with writing function. Where there is reuse and clarity due to function definitions I’m all in favour.
I’m setting out the point of view that inlining code can be an effective way to make your code clearer and easier to understand.
I code in Java by the way.