this post was submitted on 27 May 2024
711 points (97.8% liked)

Programmer Humor

18947 readers
341 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

geteilt von: https://lemmit.online/post/3018791

This is an automated archive made by the Lemmit Bot.

The original was posted on /r/ProgrammerHumor by /u/polytopelover on 2024-05-26 21:23:20+00:00.

you are viewing a single comment's thread
view the rest of the comments
[–] morrowind@lemmy.ml 63 points 2 months ago (3 children)

Where's file_dialogue_open

[–] xmunk@sh.itjust.works 37 points 2 months ago

We're all trying our best to ignore the Americans and you bring up m/d/y... why!

[–] verstra@programming.dev 27 points 2 months ago* (last edited 2 months ago) (3 children)

This is the real big-endian way. So your things line-up when you have all of these:

file_dialogue_open
file_dialogue_close
file_dropdown_open
file_rename
directory_remove

If I were designing a natural language, I'd put adjectives after the nouns, so you start with the important things first:

car big red

instead of

big red car

[–] MonkCanatella@sh.itjust.works 9 points 2 months ago

literally spanish lol

[–] funkless_eck@sh.itjust.works 6 points 2 months ago (1 children)

If I were designing a natural language, I'd put adjectives after the nouns, so you start with the important things first

So - French?

[–] lunarul@lemmy.world 4 points 2 months ago (2 children)

The thing is that in French, Spanish, etc. it still makes sense if you put the adjective before the noun, even if it might sound weird in some cases. An adjective is an adjective and a noun is a noun.

But English is positional. Where you put a word gives it its function. So "red car" and "car red" mean different things.

[–] DarkDarkHouse@lemmy.sdf.org 4 points 2 months ago

And “red big car” is wrong.

[–] deadbeef79000@lemmy.nz 1 points 2 months ago* (last edited 2 months ago) (1 children)

That's because they are romance languages. They come from Latin where word order is irrelevant as each "word" has a different form for the specific use.

[–] lunarul@lemmy.world 0 points 2 months ago

Yes, that's what I said. My native language is a romance language too. And after speaking it her whole life, my wife has trouble getting the grasp of how in English swapping two words completely changes the meaning of what she's saying (especially when it's two nouns, like e.g. "parent council")

[–] dohpaz42@lemmy.world 4 points 2 months ago

Heathen! You must alphabetize all the things!

Like seriously. It makes scanning code much easier.

[–] janAkali@lemmy.one 11 points 2 months ago

To be fair, it's also missing open_dialog_file, dialog_open_file and most crucially file_open_dialog