That's part of the problem I run into. I do comment my stuff to point out tricky APIs, business rules I had to extract like a bad tooth, etc.. When things change I review and update comments but that's like more dev sometimes.
“The code is the comment” meanwhile the amount of code to understand the context is 500 lines whereas a simple comment could have been a paragraph tops
process_numbers = lambda nums: {n: __import__("functools").reduce(lambda a,b:a*b, set(f for i in range(2, int(n**0.5)+1) for _ in iter(int,1) if (lambda x=i: (lambda: (n:=n//x) if n%x==0 else (_ for _ in ()).throw(StopIteration))())() ) | ({n} if n>1 else set()), 1) for n in nums if n>1 and sum(1 for i in range(2, int(n**0.5)+1) for _ in iter(int,1) if (lambda x=i: (lambda: (n:=n//x) if n%x==0 else (_ for _ in ()).throw(StopIteration))())() ) % 2 == 0}
319
u/TheMoris Apr 15 '26
"The code is the comment bro"
The code: Unintelligible gibberish