Append!() with Tuple and Dict

In general, it is not a great idea to treat vectors special like this. (see the problem I mentioned above with vcat doing this). It’s usually better to just specify explicitly what you need and I’ve rarely (never?) found that to be a problem, it’s usually (always?) very clear at the call site what the caller want. Doing this mainly makes your code not able to handle vector of vector nicely.

1 Like