Order of parameters in a function that has side effects

Is it a Julia convention to list the parameters with side effects first in the list of parameters, where those that have no side effects are listed last? I was looking at some of the code in base and the convention did not seem consistent.

See
https://docs.julialang.org/en/v1.8/manual/style-guide/#Write-functions-with-argument-ordering-similar-to-Julia-Base

And regarding:

they may be older than the style guide. (Just to provide a simple explanation).

1 Like