Julia style guide suggests appending an
! to the function’s name. I am curious about why
write does not follow this guide? Isn’t
filename? What is the boundary of distinguishing modifying or not?
I think it is implicitly understood that
write has side effects. Cf
write of course does not modify
filename::AbstractString, just the contents of the file it refers to).
I found JuMP.jl style guide. It agrees with you since
add_constraint are clear that modification is taking place.