News for hackers. Stuff that matters.
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.
Re:Should I choose Ada, SPARK, or Rust over C/C++? (2024) by pjmlp on Monday October 06, 2025 @09:31AM (#45491241)
It is only one pip install away, if anyone bothers to make on such set of overloads.
Re:Should I choose Ada, SPARK, or Rust over C/C++? (2024) by boxed on Tuesday October 07, 2025 @05:02AM (#45500911)
People don't though. That's the big difference. There's a certain taste in the Python community.