←back to thread

517 points bkolobara | 1 comments | | HN request time: 0s | source
Show context
koakuma-chan ◴[] No.45041723[source]
I encourage every one to at least stop writing code in Python.
replies(5): >>45041794 #>>45041941 #>>45042073 #>>45043031 #>>45049992 #
jvanderbot ◴[] No.45041794[source]
The benefits realized can be mostly attributed to strong type checking.

I'm a rust dev full time. And I agree with everything here. But I also want people to realize it's not "Just Rust" that does this.

In case anyone gets FOMO.

replies(1): >>45042106 #
koakuma-chan ◴[] No.45042106[source]
Do you know a language other than Rust that has alternative for docs.rs? In JavaScript and Python they never bother to have any documentation or reference, one notable example that gets me frustrated these days is the openai SDK for TypeScript. There is no documentation for it. I have to go look at the source code to figure out what the hell goes on.
replies(3): >>45042173 #>>45043102 #>>45049786 #
9question1 ◴[] No.45042173{3}[source]
These days isn't the solution to this just "ask <insert LLM of choice here>" to read the code and write the documentation"?
replies(2): >>45042354 #>>45043849 #
1. koakuma-chan ◴[] No.45042354{4}[source]
Yes, you can have Claude Code go through the code and make an .md file with documentation for all the public APIs. I do that for everything that doesn't provide llms.txt.