-
-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
Description
The sockets tutorial is kind of a mess to read. Both sections are weighed down with an extended tangent about the "mistakes" that the author encountered, which are confusing to read and can't be much more helpful than simply explaining how to use the library correctly.
Additionally, the code on display ignores the convenience macros that usocket offers, such as instead implementing equivalent functionality with unwind-protect
, requiring that the reader think about conditions and control flow when they should be focusing on the socket API.
This section should be rewritten to be more clear and direct, and should prefer the with-
macros defined by the usocket package to unwind-protect
.
I'll probably give a shot at rewriting it soon.
vindarel