News for hackers. Stuff that matters.
Re:The Origins of Python – Lambert Meertens by nicoco on Saturday November 26, 2022 @08:03AM (#33752296)
Large code bases are always going to be hard to read for beginners.

As an introduction language, I don't see why you would need to use decorators, generators or anything? You don't need to learn control flow, functions, variables, etc. You can perfectly write python without all the fancy stuff. In fact, there are quite a lot of data scientists who are paid to write python and don't know the first thing about concepts as seemingly basic as classes.

Re:The Origins of Python – Lambert Meertens by wiseowise on Saturday November 26, 2022 @08:55AM (#33752644)
> I don't see why you would need to use decorators, generators or anything? You don't need to learn control flow, functions, variables, etc.

I think the point here, is that when beginners start exploring what's out there in "professional" lands they'll quickly discover that they don't know Python at all, because they were using this primitive subset of a language.

Re:The Origins of Python – Lambert Meertens by lagt_t on Saturday November 26, 2022 @09:37AM (#33752987)
But you always start by using a primitive subset of a language.
Re:The Origins of Python – Lambert Meertens by capableweb on Saturday November 26, 2022 @09:45AM (#33753041)
But in what language is that not true? You start learning any language by pieces, and just because you know 10% of the language doesn't mean you're ready to write it professionally, this is true for any language.
Re:The Origins of Python – Lambert Meertens by pen2l on Saturday November 26, 2022 @10:38AM (#33753482)
> and just because you know 10% of the language doesn't mean you're ready to write it professionally

I don't see why not. Plenty of folks learn on the job, including new languages, and the way things work out you might end up implementing some things sort of by kitbashing, knowing relatively little of the concrete details that you end up learning completely more later on. I do this all the time.

Re:The Origins of Python – Lambert Meertens by ceres on Saturday November 26, 2022 @02:28PM (#33755779)
At what percentage of knowledge are you ready to use the language professionally?
Re:The Origins of Python – Lambert Meertens by cultofmetatron on Saturday November 26, 2022 @03:19PM (#33756262)
> But in what language is that not true?

go, but that brings along its own set of bug bear problems

Re:The Origins of Python – Lambert Meertens by andsoitis on Saturday November 26, 2022 @10:49AM (#33753569)
But that’s so exciting! More frontiers to explore!!
Re:The Origins of Python – Lambert Meertens by hnfong on Saturday November 26, 2022 @11:30AM (#33754039)
To compare, let's look at C. At "only" a couple hundred pages, the C language spec is simple enough. The language doesn't have all those fancy things like decorators, pattern matching, lambdas, etc.

But after 30 years of programming, do I actually know C? Once I dig into C compilers, undefined behaviors, etc. I can also quickly convince myself I actually don't know C at all...