News for hackers. Stuff that matters.
Re:"Real" anonymous functions for Python by maxcoder4 on Sunday March 31, 2024 @02:22PM (#39886651)
Not the OP, but I program professionally in Python for the past 5 years and i have never set a breakpoint. Assuming they don't work in lambdas (sounds like a tooling issue), is this really such a big problem?
Re:"Real" anonymous functions for Python by constantcrying on Sunday March 31, 2024 @02:36PM (#39886783)
>Not the OP, but I program professionally in Python for the past 5 years and i have never set a breakpoint.

This means you are either one of the best or one of the worst programmers. People in the middle have bugs in their program and can use a debugger to find them.

>sounds like a tooling issue

The tool, in this case, being the interpreter. Which is exactly the point.

Re:"Real" anonymous functions for Python by quibono on Sunday March 31, 2024 @02:28PM (#39886711)
Depending on what you're doing this can be really annoying.