3 ms·
I think the point is not that you can't write the first example in python3, it's that you don't see it. When you opened the prototypical python file in your tex
by tedunangst 10y ago
I think the point is not that you can't write the first example in python3, it's that you don't see it. When you opened the prototypical python file in your text editor, you would see the first example. Now when you open a modern python file, you see the second. (one can still argue this is an improvement, but it's worth recognizing the point being made.)
- lima 10y agoIf anything, it would look like: def hello_world(name: str) -> None: print("Hello", name) Which is completely fine. There'd be no point in using asyncio.
- tedunangst 10y agoAgain, the point is not that you can't write simple code in python3. The point is that you can't write complex code in python2.
- deleted 10y ago[deleted]