News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by 6gvONxR4sf7o on Sunday June 26, 2022 @10:29PM (#31889996)
Better error messages is something that literally every single language/framework/library should prioritize. It improves users lives by more than almost everything else besides correctness. It’s been great to see the improvements in python.
Re:What's New in Python 3.11? by chrisma0 on Sunday June 26, 2022 @11:05PM (#31890178)
I agree that the exact error locations in tracebacks seem like the most impactful change here. Particularly in the light that Python is often used as an introductory language and unhelpful error messages are incredibly frustrating. Like this it feels like they can become more of a tool to improve!
Re:What's New in Python 3.11? by drited on Monday June 27, 2022 @02:39AM (#31891317)
Totally agree! It's hard to fathom why so many languages leave you to be some kind of detective trying to determine exactly where the issue is rather than just telling you.
Re:What's New in Python 3.11? by dazzawazza on Monday June 27, 2022 @08:43AM (#31893762)
.. and they have the highest impact when you are starting to learn a language.

Many a student turns away from a language because the developers underestimate the importance of error messages.

Re:What's New in Python 3.11? by dominotw on Sunday June 26, 2022 @10:56PM (#31890125)
best i've seen so far are in elm lang.