by satwik · 4y ago · 0 comments
If anyone's willing to go through those examples with an interpreter on the side, you can check out https://www.wtfpython.xyz/
It's built with pyiodide, the only limitation is you may not get correct results for the examples that are version-dependent. The UX might not be great, especially on mobile (happy to hear ideas on how to improve it), but it does the job for now :)
can we use a different shade of grey for code blocks in dark mode?
I've found senior developers to have polarized opinions about the usefulness of the collection, so always good to see a review in favorable direction :)
Speaking of directions, how about the bidirectional use of `yield` and `yield from` ?
https://stackoverflow.com/questions/9708902/in-practice-what...
# Sending data to a generator (coroutine) using yield from - Part 1
I also learned that there is python code which causes a rather violent "Don't you ever get that near a code base I maintain"-reaction, which I much rather associated with perl.