4 ms·
A programming language "is said to be Turing complete or computationally universal if it can be used to simulate any single-taped Turing machine" [1]. This aut
by dhatch387 10y ago
A programming language "is said to be Turing complete or computationally universal if it can be used to simulate any single-taped Turing machine" [1]. This author doesn't seem to understand this concept properly.
[1] https://en.wikipedia.org/wiki/Turing_completeness https://en.wikipedia.org/wiki/Turing_completeness
- ayrx 10y agoAnd if he doesn't understand that concept should he _really_ be teaching anyone programming?
- hsitz 10y agoI'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.)
- Vendan 10y agoThen the question becomes "why is he talking about turing completeness, something that is either irrelevant, or that he knows nothing about?"
- JBReefer 10y agoI mean it sounds very nice and fancy - but loop semantics and conditional jumps have nearly nothing to do with what he's talking about.
- esaym 10y agoHeck no he shouldn't.
- emodendroket 10y agoI'm pretty sure this was a tongue-in-cheek way of stating the true criticism.
- noobermin 10y agoI'm wondering that here. The whole article feels over-the-top, perhaps it's a well crafted parody, an extreme sense of sarcasm? May be he is a Python 3 lover after all.
- emodendroket 10y agoIsn't over-the-top Zed Shaw's "thing"?
- brianwawok 10y agoDitto. 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.
- ayrx 10y agoIn 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.
- haikuginger 10y agoThis is what the author doesn't get- the fact that Python 2 makes no distinction between bytes-like objects and string-like objects is a bug, not a feature. He finds his code so awful to migrate because he has built it on a contrary assumption.
- esaym 10y agolol, winning.
- aperetto 10y agoI was working on a side project and ended up upgrading because I could figure out how Python was encoding my data. I got so frustrated with the semantics I found it easier to jusy upgrade.
- aminorex 10y agoDefinitely disagree. I am a literal genius, wrote compilers, learned a dozen programming languages for fun, but prefer to do hard things. Yes p2 handling of coding is broken, but p3 is much worse. Making a theoretical argument about a pragmatic problem is a category mistake. And it's not even the core of Zed's expressed concern, which is the arrogant and abusive manipulation of the user community in service of the interests of self-obsessed project.
- 10y ago