You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
4.4 KiB
110 lines
4.4 KiB
11 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||
|
|
||
|
<!-- Enable responsiveness on mobile devices-->
|
||
|
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||
|
|
||
|
<title>Julio Biason .Me 4.3</title>
|
||
|
|
||
|
<!-- CSS -->
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print">
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css">
|
||
|
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css">
|
||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body class=" ">
|
||
|
|
||
|
<div class="sidebar">
|
||
|
<div class="container sidebar-sticky">
|
||
|
<div class="sidebar-about">
|
||
|
|
||
|
<a href="https://blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a>
|
||
|
|
||
|
<p class="lead">Old school dev living in a 2.0 dev world</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<ul class="sidebar-nav">
|
||
|
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/">English</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li>
|
||
|
|
||
|
<li class="sidebar-nav-item"><a href="/pt/tags">Tags (PT)</a></li>
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="content container">
|
||
|
|
||
|
<div class="post">
|
||
|
<h1 class="post-title">Learning Concurrency in Python - Elliot Forbes</h1>
|
||
|
<span class="post-date">
|
||
|
2021-12-13
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/reviews/">#reviews</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/books-2021/">#books:2021</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/stars-1/">#stars:1</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/python/">#python</a>
|
||
|
|
||
|
<a href="https://blog.juliobiason.me/tags/concurrency/">#concurrency</a>
|
||
|
|
||
|
</span>
|
||
|
<p><a href="https://www.goodreads.com/book/show/36083578-learning-concurrency-in-python">GoodReads Summary</a>:
|
||
|
Practically and deeply understand concurrency in Python to write efficient
|
||
|
programs.</p>
|
||
|
<span id="continue-reading"></span><div>
|
||
|
★☆☆☆☆
|
||
|
</div>
|
||
|
<p>A good book if you want examples of code in some concurrency topics -- and some
|
||
|
that don't -- but nothing that could actually <em>teach</em> you how to use this.</p>
|
||
|
<p>For example, there are consecutive examples of things that only change one
|
||
|
option. It tells what the option says it does but doesn't example <em>what</em> it
|
||
|
actually does and <em>when</em> you should use it. The whole <em>when</em> is missing from the
|
||
|
book: Here is the options, here are examples for each option, have fun.</p>
|
||
|
<p>Also, as usual for Packt books, editing would require some work. For example,
|
||
|
you're following with examples using <code>.join()</code> but it is not initially explained
|
||
|
why you need to do that -- only a few sections later that you find out it "waits
|
||
|
for the completion of threads/processes", with no mention that the call blocks
|
||
|
the current thread.</p>
|
||
|
<p>And, on top of that, none of the examples (ok, maybe two) actually follow
|
||
|
PEP8. It is a pet peeve of mine, I reckon, but when you're explaining some
|
||
|
language feature, I'd expect the examples to follow the code style of the
|
||
|
language (although it is not that bad 'cause at least there is a consistent
|
||
|
style through the book, even if it is not PEP8).</p>
|
||
|
<p>Suddenly, I have a feeling that the book is actually the notes of the author
|
||
|
while learning something, not something that they want to help you learn...</p>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|