News for hackers. Stuff that matters.
Re:Guido was right, there should be no lambda in Python (2018) by TheRealPomax on Tuesday September 27, 2022 @09:23PM (#33003252)
I think this is a dangerous assumptions to make: the last time I looked at C was 30 years ago, you show me real C code with pointers and references and namespaces and I couldn't tell you wtf was going on if my life depended on it.

With a few weeks of study to "re"learn C and/or C++? Sure, they're just programming languages. But right off the bat? No idea what the hell is going on in real, production C code.

Re:Guido was right, there should be no lambda in Python (2018) by Entinel on Tuesday September 27, 2022 @09:35PM (#33003321)
This is my point though. People just complain about whatever syntax they aren't used to using but none of them are inherently more difficult to read.
Re:Guido was right, there should be no lambda in Python (2018) by TheRealPomax on Tuesday September 27, 2022 @09:54PM (#33003428)
None of them are inherently more difficult to _learn_ but they sure as hell are more difficult to read when everything's peppered with :: and * and &.
Re:Guido was right, there should be no lambda in Python (2018) by Entinel on Tuesday September 27, 2022 @10:22PM (#33003571)
That's a matter of opinion and one I disagree with.
Re:Guido was right, there should be no lambda in Python (2018) by thrown_22 on Tuesday September 27, 2022 @10:55PM (#33003782)
The problem of working C code isn't the syntax, it's the semantics.

Casting pointers isn't difficult to read because dereference and multiplication share *, it's difficult to understand because it's not something you do outside of C.

Re:Guido was right, there should be no lambda in Python (2018) by skywhopper on Wednesday September 28, 2022 @08:28AM (#33007115)
Maybe you don’t.