Re:Should I choose Ada, SPARK, or Rust over C/C++? (2024)
by HelloNurse on Monday October 06, 2025 @09:22AM
(#45491138)
Of course I can overload >> in Python, but I cannot foul up output stream state because it doesn't exist.
Formally there is little difference between C++ and Python operator overloading and both languages have good syntax for it, but C++ has many rough edges in the standard library and intrinsic complications that can make operator overloading much more interesting in practice. For instance, overload resolution is rarely trivial.
[ Parent
| on HN ]