What are your thoughts on operator overloading?

(on a scale from "I can't live without it" to "I'm literally Drew DeVault")


I think it leads to bad code because it introduces more mental load when reading the code. Especially because it is often used in scenarios where it doesn't make sense.

I'd rather have clearly named functions/methods than operators that provide less meaning.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!