Le jeudi 10 mars 2016 à 22:44 -0800, Tomas Lycken a écrit : > I recently decided to switch the arguments in Interpolations.jl from > types to instances, although in that case it actually made the > interface a little uglier rather than prettier. The main reason was > that I suddenly had the need for the flexibility provided by allowing > for instance fields on the flags. My takeaway is that even if it's > slightly more to type for the user, it's probably worth it in the > long run. > > (there's also a note on this in the style guide section of the > manual...) Thanks, I had missed it. For those looking for it, it's not very easy to spot since the section heading doesn't refer exactly to this: http://docs.julialang.org/en/latest/manual/style-guide/#avoid-confusion-about-whether-something-is-an-instance-or-a-type
So actually there's an "official" position on the matter. Regards
