TGTGInsightаналитика telegramLIVE / telegram public index
← [404] — программирование

TGINSIGHT SIMILAR POSTS

Найти похожее

Источник @procode404 · Post #3548 · 25 апр.

​⚙️Принцип EAFP в Python —[7:15] EAFP — полезный принцип, который помогает писать более чистый код на Python. Он расшифровывается как «easier to ask for forgiveness than permission». Из этого видео вы узнаете, почему именно принцип EAFT считается правильным при проектировании приложений и увидите, как он работает на практике. Перейти к просмотру #видео#python

Результаты

Найдено 1 похожих постов

Поиск: #pygotham

当前筛选 #pygotham清除筛选
djangoproject

@djangoproject · Post #132 · 01.09.2016, 14:47

https://bit.ly/coroutines At Open Source Bridge and #PyGotham in 2015, and at SCALE14x, I demonstrated that you can code a Python 3 #async framework in under an hour. I start the demo by writing a callback-based async framework, built on non-blocking sockets and a simple event loop. Then I adapt the framework to use generator-based #coroutines, which are cleaner than callbacks but still more efficient than threads for async I/O.