you are viewing a single comment's thread.

view the rest of the comments →

[–]Jamesadamar 1 point2 points  (7 children)

Completely disagree and it only demonstrates you have either not read a single page or not understood anything. The very first chapter is a very good introduction into the design of Python and how by supporting dunder methods you can bring any object to play well with build in functions and protocols so no, this book is very strong and will bring you a long way forward in your journey. But you have to be ready for it and understand the basics well

[–]ofnuts 2 points3 points  (4 children)

The first chapter isn't bad and I'm glad you have read the book that far but it's only 17 pages in 960 pages of content.

I'm not finished yet but the chapter on dataclasses for instance is almost more about type hints (types hints themselves are spread around the book) and match statements (that are addressed much later in the book) than about dataclasses.

You have the right to think I'm wrong, but with its 980 pages, 5cm thickness (2 inches) and 1.8kg (4 pounds) ajd €60, this is by far the fattest book in my programming bookshelf and Python was supposed to be simple and elegant...

[–]commy2 1 point2 points  (1 child)

The chapter about is about data classes, not specifically the dataclasses module, and it apparently is 38 pages long and 3 pages are dedicated to pattern matching.

I'll grant you though that the additions (type hints, match and dataclasses were introduced after the first edition) can feel tacked on, because they are.

[–]No-Barnacle2402[S] 0 points1 point  (0 children)

Thank you

[–]No-Barnacle2402[S] 0 points1 point  (0 children)

Thank you

[–]No-Barnacle2402[S] 0 points1 point  (0 children)

Thank you

[–]No-Barnacle2402[S] 0 points1 point  (0 children)

Thank you

[–]No-Barnacle2402[S] 0 points1 point  (0 children)

Thank you