Operator overloading: you're doing it wrong

by Greg Ward

Language Features & Internals

Some languages (C++, Python) support operator overloading, and their communities are quite happy to use this nifty feature for more readable and expressive code. And some languages (Java, Go) are resolutely opposed to this terrible idea, and would sooner die than let you change the meaning of + or /. Why the divide? I'll explore some of the uses and abuses of operator overloading, and suggest ways to use it appropriately.


About the Author

I've been programming since the 1980s, using and contributing to open source since the 1990s, and involved in the Python community since 1998. In that time, I've written a lot of code and read even more. I've learned a few good tricks and figured out some practices to avoid. I love to share this hard-earned knowledge with my fellow hackers.


Talk Details

Date: Sunday Nov. 17

Location: Sky Room

Begin time: 11:00

Duration: 25 minutes