When is it ill-advised to use superassignment ("<<-")?

Viewed 183

I wrote a function in which I use several superassignments. This enables me, when I source this function, to automatically create new global variables ready for later use.

I got a comment on my code that briefly stated that using superassignments was a terrible idea and that this person would not consider the code trustworthy as long as I did not change that.

I am not trained in programming and I naively did not consider bad side effects of using superassignments.

When am I putting my code at risk by using them?

0 Answers
Related