Question for black people on fedi. TL;DR, is the expression "black magic" racist...

@gwenthefops@booping.synth.download

Content warning: Question for black people on fedi. TL;DR, is the expression "black magic" racist?

Some time ago, I heard that "black magic" was developed as a way to talk about "the magic of black people". Today I learned that this was incorrect, medieval latin had a word derived from necromancy which would already be translated directly into black magic (that I'm not comfortable writing down since it involves the older form of the n-word)

Now, I am not naive enough to think that this means the word can't be racist, but I am doubting my half-remembered, not sourced, memory that the expression is racist, so I want to turn to yall.

Is it racist? has it been used in uncomfortable ways enough that it should be avoided? or is this generally ok when talking about unrelated things, like code that can't be understood by humans?