Live data from Hacker News

Is Python Becoming Pinyin?

lernerpython.com

31–40 of 82 posts

Re: Is Python Becoming Pinyin?

#33

Python has wonderful set of libraries so it is probably going to stay with us for a while. However, I suspect major takeover by Typescript (despite I like Python more).

I’m a JS/TS dev (and fan) I don’t think either is a replacement for Python. They are not standalone languages but require some runtime to interact with the world (DOM or Node.js etc) which have limited capabilities for interacting with the system - their focus is network services. It’s not that inaccurate to say that JS is just API for a C++ app. :)

Now if .NET was still not so embedded in the Windows ecosystem that would be very interesting to me to jump from TS. As it is I am learning Go instead.

Re: Is Python Becoming Pinyin?

#34
post #21

If we're not writing code by hand anymore anyway, why not skip programming languages altogether and have the AI output machine code right away?

It's not portable and in today's world, you have x86 and ARM to contend with. My argument is that should make Java the default language for LLM output.

Re: Is Python Becoming Pinyin?

#35
post #25

Earlier quoted context omitted.

To what extent do you see Python drifting toward stronger typing? I ask because after 10 years without touching a single line of Python, I recently worked on a Python code base and I was very positively surprised by the static typing that's available in the language now. Not even necessary to to reach for additional tooling like JS and TS.

How are you getting static typing without additional tooling?

I mean, of course there is tooling involved. But it's part of the language. Unlike TypeScript which is a superset of JS and requires transpilation.

Re: Is Python Becoming Pinyin?

#36

If you don't know what is Pinyin I googled it for you (I didn't know what it is): Pinyin is a system for writing Mandarin Chinese sounds using the Latin alphabet. Pinyin is commonly used for learning Chinese pronunciation and for typing Chinese characters.

> It might seem weird for us to teach beginners Python, knowing that they’ll then have agents output other, faster languages. I see an analogy here with Chinese: Many people don’t realize this, but children in China first learn Latin characters, which they use to spell out Chinese phonetically, using a system called “pinyin.” They then use their knowledge of Latin characters to learn Chinese characters, whose pronunciation isn’t obvious from the characters themselves.

The article did explain, albeit near the end.

Re: Is Python Becoming Pinyin?

#37
post #4

Python has wonderful set of libraries so it is probably going to stay with us for a while. However, I suspect major takeover by Typescript (despite I like Python more).

My money would be on Go and Rust. Most of the major downsides of either language go away if you let the agent write almost all of the code Go might have the advantage because it's easier to read outside the IDE

Not to forget "The Beam" - especially gleam!

Re: Is Python Becoming Pinyin?

#38
post #4

Earlier quoted context omitted.

My money would be on Go and Rust. Most of the major downsides of either language go away if you let the agent write almost all of the code Go might have the advantage because it's easier to read outside the IDE

A big selling point for Python is the large number of native extensions. Rust has a huge advantage here, in fact many popular Python libraries use Rust underneath.

Maybe the/a big "selling point" for python is the fact, that many teachers don't know better.
Post reply on HN