this post was submitted on 12 Mar 2024
1100 points (95.8% liked)

Programmer Humor

32495 readers
472 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] calcopiritus@lemmy.world 6 points 8 months ago (1 children)

Yeah, no python package has "py", JavaScript ".js" or java "java". None at all.

[–] CapeWearingAeroplane@sopuli.xyz 1 points 8 months ago* (last edited 8 months ago) (1 children)

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.

[–] calcopiritus@lemmy.world 1 points 8 months ago

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.