News for hackers. Stuff that matters.
Re:Web application from scratch, part I by pvg on Sunday February 25, 2018 @03:08PM (#16460896)
I like this kind of tutorial as well but I have a hard time telling who this particular one is aimed at. It's definitely not any kind of beginner.

The socket API is nontrivial and is hardly explained at all. A lot of implementation magic is just coded right in without a word of explanation. The shiniest Python wizardry is used throughout without much of a benefit to clarity - you've got a generator, f-literals, type annotations, typed name tuple syntax, etc. Even if you can read and like type annotations as a documentation aid, the code as written says weird things like 'an http request is a a named tuple and depends on sockets'.

Re:Web application from scratch, part I by sotojuan on Sunday February 25, 2018 @07:03PM (#16462005)
I'd guess it's written for someone comfortable with Python or programming in general (so they understand the syntax quickly) but has mostly worked with web frameworks and libraries.
Re:Web application from scratch, part I by voltagex_ on Monday February 26, 2018 @04:56PM (#16469320)
I thought I was comfortable with Python but I've never seen `-> typing.Generator[bytes, None, bytes]` nor that arrow syntax before - guess I have some catching up to do.