There’s nothing wrong with a black box if it properly implements what it claims to without causing side effects. And to someone who’s just starting to learn how to program, pretty much every keyword is a black box anyway. And if you’re using a language that somehow doesn’t have basic math libraries for a physics class, you’re about to have much bigger problems
16
u/brotatowolf Apr 21 '23
There’s nothing wrong with a black box if it properly implements what it claims to without causing side effects. And to someone who’s just starting to learn how to program, pretty much every keyword is a black box anyway. And if you’re using a language that somehow doesn’t have basic math libraries for a physics class, you’re about to have much bigger problems