this post was submitted on 12 Mar 2024
1094 points (95.7% liked)
Programmer Humor
32464 readers
215 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was mainly thinking about how so many Rust projects advertise very loudly that they're written in Rust. Like, they would have
-rs
in the name, or "in Rust" as part of their one-line description. You rarely see this kind of enthusiasms for the the language in other languages. Not a bad thing by the way! And also there's the "rewrite it in rust" meme, where people seem to take perfectly functional projects and port them to Rust (again, not a bad thing! Strength in diversity!)Yeah, no python package has "py", JavaScript ".js" or java "java". None at all.
For Python I think there's an actual point though: A lot of Python projects are user friendly wrappers for pre-compiled high-performance code. It makes sense to call something "py" to signal what the library is.
Well, it's the same in rust, that's why I agree more with the first interpretation.
There is an existing solution in C/C++, just make some binding and call it *.rs
Both python and rust use py and rs in the same way, to signal that it's the python/rust version of that library.
Of course, there are exceptions, but that's what usually happens.
Check Julia then, .jl everywhere