Hacker News new | ask | show | jobs
by tasuki 89 days ago
Ahaha, I feel this comment.

I used to do backend development in superior languages, and sometimes do hobby frontend in superior languages, but my work is Python now. And it kind of has to be Python: we do machine learning, and I work with GDAL and PDAL and all these other weird libraries and everything has Python bindings! I search for "coherent point drift" and of course there's a Python library.

The superior languages I mentioned... perhaps they have like a library for JSON encoding and decoding. You need anything else? Great, now you're a library author and maintainer!

1 comments

relax, soon u be rewriting the essence of all these libs into something new. python has its days numbered also perhaps for many engineering decisions that are now cheap via llms.
The LLMs write bad python as easily as any other language.

To make it good, you need to review and interate.

I think this means reviewing is the main thing with AI, and therefore the language to use should be one where reviewing is easy, for humans.
indeed, from my perspective doing heavy agentic dev for six months, the language all is implemented should be easy. its api - also. like Swift is super easy to read, but the APIs of underlying libs - not so much. Python is reasonably easy to read, but with GIL and everything is a very slow choice. Zig seems a nice apporach to readability, Rust is definitely not so readable.

we may want to invent something akin to concise math notion, but not so much, in between pseudo-code and math.

It is very hard to manually review AI generated code. May be we have to use another LLM to review and assume everything is good.
This hasn't been my experience. I find LLM code about as hard to review as human code, perhaps a little easier.