Earlier quoted context omitted.
And if he doesn't understand that concept should he _really_ be teaching anyone programming?
I'm pretty sure that if you understand both Turing completeness and the practice of actual programming, then you know that in most cases the one has virtually nothing to do with the other. (Which is not meant at all to imply that the author of linked article understands Turing completeness, just that even though he doesn't seem to he could still be excellent at teaching programming.)
The Case Against Python 3
41–50 of 281 posts
Re: The Case Against Python 3
#42> Currently you cannot run Python 2 inside the Python 3 virtual machine. Since I cannot, that means Python 3 is not Turing Complete and should not be used by anyone. I stopped there.
Yes, the author doesn't know what he's talking about. But people talking about Turing completeness in a real programming language (usually in the form of "x is Turing complete, therefore you couldn't ask for more") almost always haven't got a clue.
Re: The Case Against Python 3
#43I didn't know Zed Shaw was that stupid. Or is he just trolling?
Re: The Case Against Python 3
#44for a, b in zip(generatorA(), generatorB()):
In Python 2 you have to import itertools to do this. I bring this up because I find examples like this all the time in Python 3 where core, modern language features like generators are more tightly integrated and easier to use. It's really a better version of the language and if you're starting fresh on a Python project you should do yourself a favor and use it.
Re: The Case Against Python 3
#45Uhhh..? A more trendy language? Are we really saying that Elixir is more stable than Python?
Re: The Case Against Python 3
#46> In the programming language theory there is this basic requirement that, given a "complete" programming language, I can run any other programming language. In the world of Java I'm able to run Ruby, Java, C++, C, and Lua all at the same time. In the world of Microsoft I can run F#, C#, C++, and Python all at the same time. This isn't just a theoretical thing. There is solid math behind it. Math that is truly the fo…
Re: The Case Against Python 3
#47EDIT: https://learnpythonthehardway.org/book/ex0.html
Wow - python 2.5.1. He even does not update to 2.7.
Last login: Sat Apr 24 00:56:54 on ttys001
~ $ python
Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)Re: The Case Against Python 3
#48Re: The Case Against Python 3
#49Earlier quoted context omitted.
Ditto. Then I read more for laughs. I kind of feel like I could fix py2to3 if I have a sed and awk layer in there.. maybe a fun project.
In my experience a lot of the problems with automatically converting existing Python 2 code to Python 3 code is that the Python 2 code usually makes fundamentally broken assumptions when it comes to unicode and bytes.