News for hackers. Stuff that matters.

aprimc

Re:Stressful lives of older tech workers on Wednesday September 27, 2017 @02:50PM (#15351043)
The industrial revolution began with the textile industry. Before the revolution, we knew who made our underwear. Now we don't care.

Programming is going the same way. Today, most of it is just manual labor. The changing profile of the work force reflects that.

Creativity and experience will still be needed, but the workforce providing them will be a minority. (Just like fashion designers are a minority in the textile industry today.)

Re:Asynchronous Programming in Python: Asyncio on Monday May 01, 2017 @05:33PM (#14241884)
The most confusing thing in Python is that there is more than one way to do it. :)

Python asyncio library supports coroutines, callbacks, futures, thread-pool executors... All have similar APIs and dissimilar semantics. For instance, canceling a coroutine is different than canceling a future and different than canceling a thread. (I've heard asynchronous exceptions are bad, but this is just an example.)

Error handling is difficult. You can't observe an error if you don't remember to write code to observe an error.

Also confusing is that coroutines in Python can be driven by any event loop. Which is great! You can write your own. But that will be even more confusing. Erlang has one OTP, Python will have many.