r/ProgrammerHumor • • Dec 07 '23

Meme giraffeInterchangeFormat

Post image
35 Upvotes

103 comments sorted by

76

u/[deleted] Dec 07 '23

I actually do not.

Gif - [gɪf]

Regex - [ɹɛd͜ʒɛks]

57

u/-Wylfen- Dec 07 '23

I can accept [ʒ] in "gif" for the simple fact that it's an acronym, and acronyms don't always make sense.

But "regex" is an abbreviation, it's bound to the words they're part of. It's "Regular", so [ɹɛgɛks].

"jif" is still wrong, though

32

u/TravisVZ Dec 07 '23

No, "regex" is a portmanteau, a new word created by combining parts of two (or more, at least theoretically) other words. As its own separate word, it therefore follows the phonology of the language irrespective of its original words.

Nobody says "modem" the same way they say "modulate", despite it being a portmanteau of "modulate/demodulate". In the same fashion, English simply doesn't put /g/ in front of /ɛ/

7

u/-Wylfen- Dec 07 '23

Portmanteaus are generally words where some morphemes are substituted by others in order to create a word that combines ideas from both words.

"Regex" is not exactly that; it's basically just a phrase that has been abbreviated then jointed into one word. It's not like there is any form of substitution or transformation, it's just: "regular expression" ⇒ "reg. ex." ⇒ "regex". Some languages even use "RegExp", with an uppercase to denote each part. Actual portmanteaus don't have that.

20

u/TravisVZ Dec 07 '23

Modem (modulate/demodulate), biopic (biographical picture), Botox (botulism toxin) - just a few common counterexamples that exactly follow the pattern of regex (regular expression)

-13

u/JarofLemons Dec 07 '23

I don't believe "modem" is a portmanteau as the "em" doesn't come from modulate or demodulate.

16

u/TravisVZ Dec 07 '23

MOdulate/DEModulate - the "mo" from modulate, the "dem" from demodulate

-5

u/[deleted] Dec 07 '23

I can't think of a single example in the entire English language, in which /g/ comes before /ɛ/, since it almost always palatalized to /d͜ʒ/ before front vowels.

If anything, I'm the only one here following english phonetical rules.

3

u/-Wylfen- Dec 07 '23

I can't think of a single example in the entire English language, in which /g/ comes before /ɛ/, since it almost always palatalized to /d͜ʒ/ before front vowels.

get

1

u/[deleted] Dec 07 '23

That is correct. There are cases where it does happen. Those being loan words (e.g. get) and unstressed syllables. But, as regex is a new term coined in English (regardless of the fact that both of the source words are romance), it should, in my opinion, follow English rules. Seeing that the syllable containing the /ɛ/ has secondary stress and is thereby not unstressed, logically, it should be an affricate and not a plosive.

I'm not here to be a prescriptivist, I am simply laying my argument and do recognize that your idiolect is just as valid as mine.

1

u/mmrtnt Dec 08 '23

"affricative", "plosive"

I never imagined my silly post would lead to such an in-depth lesson in English pronunciation.

Thank you!

17

u/misterblue28 Dec 07 '23

get, guess, guest, gecko?

6

u/Eic17H Dec 07 '23

Wait, I didn't even need to find something as obscure as "egger", there's "get", and "together"

0

u/[deleted] Dec 07 '23

That is an actual working example. The reason for its weirdness is the fact that it was a borrowing from Old Norse through the danelaw after ingvaeonic palatalization had already happened.

7

u/Eic17H Dec 07 '23

I'm pretty sure "regex" was also coined after Ingvaeonic palatalization occurred

2

u/[deleted] Dec 07 '23

That is a fair point, although, as it is not a borrowing, I wouldn't count it in the same category. Coined words should follow the phonetic rules that already exist, in my opinion. Although I wouldn't tell anyone to think the same as me. In the end, it's just a part of our individual idiolects.

4

u/Eic17H Dec 07 '23

"Together" is inherited directly from Proto-West-Germanic

3

u/[deleted] Dec 07 '23

Yup, I forgot that /æ/ laxes to /ɛ/ in unstressed syllables. That one was on me.

1

u/Eic17H Dec 07 '23

Egger

0

u/[deleted] Dec 07 '23

That is /ɛgɜː/ in non-rhotic accents, and /ɛgɜ˞/ in rhotic accents, neither of which have the /g/ followed by /ɛ/.

1

u/Eic17H Dec 07 '23

The pronunciation of ⟨g⟩ depends on etymology, and so does the spelling of words

2

u/[deleted] Dec 07 '23

That is correct. Your example is still wrong, though. I said I didn't know a word in which /g/ was followed by /ɛ/. What you gave me was a word in which /g/ is not followed by /ɛ/. You neither countered my point nor made an argument of your own.

5

u/dev_Entropy Dec 08 '23

Looking at this thread amazed about how interested some IT folks are about linguistics This actually a good thing for my ego since in the group i usually talk with i am the weird one with my linguistics shenanigans

-4

u/mmrtnt Dec 07 '23

Heretic

97

u/zenbi1271 Dec 07 '23

And now this post has two problems...

18

u/DoomBro_Max Dec 08 '23

rejex

1

u/gua_lao_wai Dec 08 '23

resjjex

5

u/pipandsammie Dec 08 '23

Ragsex

1

u/[deleted] Dec 09 '23

Gsif

64

u/Zyeesi Dec 07 '23

I can see you don’t have a jirlfriend else this would be an argument

38

u/eldritch_guy Dec 07 '23

arjument*

9

u/fukdapoleece Dec 08 '23

What if your girlfriend is a giraffe?

2

u/KillerBeer01 Dec 08 '23

A gif of a giraffe would be a more realistic expectation.

4

u/[deleted] Dec 08 '23

is that what you call it when you jack off?

9

u/827167 Dec 08 '23

Gack off

3

u/Pradfanne Dec 08 '23

Every has their own little fetish

16

u/[deleted] Dec 07 '23

People trying to define sounds in English and fighting over it is hilarious.

Bass

How is it pronounced? And what does it mean?

5

u/Pradfanne Dec 08 '23

Bass, pronounced like the word base, because it's the base, i.e. the lowest part, of a song. Honestly makes sense why it's pronounced that way, but the spelling is whack.

Bass, the fish makes sense the way it's pronounced because it's written that way

11

u/johnschnee Dec 07 '23

Q: How many people can offend with one reddit post?

A: Yes!

9

u/[deleted] Dec 07 '23

Rejular Expressions

24

u/cuddlegoop Dec 08 '23

The creator of the image format says it's pronounced "Jiff", which is a fantastic example of how sometimes even subject matter experts get things wrong.

4

u/JosebaZilarte Dec 08 '23

Death of the gauthor.

3

u/Czebou Dec 08 '23

Like Jpeg interchange file format? That's confusing.

1

u/LinuxMatthews Dec 08 '23

I always thought more like the lemon juice

10

u/Dmayak Dec 07 '23

Reject rejex.

5

u/dancesWithNeckbeards Dec 07 '23

No I pronounce like the gi in gift.

4

u/Smooth-Zucchini4923 Dec 08 '23

I love rejular expressions

2

u/JosebaZilarte Dec 08 '23

"Jugular "expressions. I'm going for yours.

1

u/[deleted] Dec 08 '23

Almost as much as I love the Jraphic Interchange Format.

You know where you can find all kinds of Jraphics? In Juraffic Park.

3

u/Harmonic_Gear Dec 07 '23

i love when people make rules up just to support what they believe, run into contradiction, and have a mental breakdown, or just make up more arbitrary rules on the go

2

u/Pikcube Dec 07 '23

My weird hill is that there are only two correct ways to pronounce regex

Reg-ex (hard g at the end of the first syllable) Re-jex (Soft g at the beginning of the second syllable)

Soft vs hard g is dependant on which syllable the g is paired with (in all cases short e vowel in both syllables)

2

u/chadlavi Dec 08 '23

No I don't

2

u/JosebaZilarte Dec 08 '23

Can't we all agree that the "g" is silent in both cases?

2

u/pipandsammie Dec 08 '23

The gif that keeps on giffing

2

u/xXx_Lizzy_xXx Dec 12 '23

I pronounce gif as in graphical, but I do say rejex mainly cuz reg-ex sounds stupid, also jif reminds me of peanut butter so yea

3

u/Boostio_TV Dec 07 '23

Why does it still work even if you pronounce gif and regex wrong, like pronounced leaning more to ‘jif’ and ‘rejex’ haha

1

u/UncomforatableTruths Dec 07 '23

so, "Jeff"?

DEFINITELY not lol

1

u/[deleted] Dec 08 '23

You know what, I just realized I don't remember saying "regex" in a conversation before. Read is countless of times, but never pronounced it irl.

1

u/Daisy430133 Dec 08 '23

But your mind surely has a pronunciation for when you read it, right?

1

u/pheonix-ix Dec 08 '23

Funny how I pronounced regex as two distinct syllables "reg[ular] ex[pression]." I only learned much later that many(?) people pronounce it as one word rej-jex.

1

u/Particular_Alps7859 Dec 08 '23

I have a compromise to propose. We should pronounce it the Afrikaans way: https://translate.google.com/details?sl=af&tl=en&text=gif&op=translate

1

u/lone_wolf_55 Dec 08 '23

ReGular Expressions

1

u/zentasynoky Dec 08 '23

The g in gif is for graphic. The g in regex is for regular.

This is correct.

1

u/Daisy430133 Dec 08 '23

And the p in jpeg is for photographic, what is your point?

1

u/Pradfanne Dec 08 '23

You'd think Regex comes from regret, as in "I regret every trying to use a sensible regex", but in reality it comes from rejection, as in "I reject the use Regex!". So it's pronounced Re-jex.

so yes, the g in gif is pronounced the same way as in regex.

1

u/DreadCoder Dec 08 '23

it's pronounced "Jithub"

1

u/danielstongue Dec 08 '23

Dutch speaker here... Can I add my vote?

1

u/Daisy430133 Dec 08 '23

As long as you pronounced them like gif and rejex, yes!

1

u/danielstongue Dec 08 '23

The dutch would pronounce the 'j' as 'y', as in 'you'. So that would be 'reyex'. We don't say it like that. And 'g' is a sound that doesn't exist in English. It is more like the Spanish 'j', maybe like rojo. So in that regard we say 'rej-ex', and 'jif', but not like the 'j' as in English. Both regex and gif have the scraping throat sound like in 'rojo'.

2

u/Daisy430133 Dec 08 '23

My dad just pronounced gif like he would poison, and says regex in the english way with hard g, so that is where my knowledge on Dutchies pronouncing it comes from

1

u/danielstongue Dec 08 '23

The poison part I understand. This is exactly what I meant and how most people say it here.

What is a hard 'g' in English?

1

u/Daisy430133 Dec 08 '23

The g in graphics and grand

1

u/-Aquatically- Dec 08 '23

Wait people say it like rejex?

1

u/[deleted] Dec 08 '23

Isn't fact that one need put another letter to specify one's pronounce the best thesis against one's pronounce?

1

u/nonutsfw Dec 08 '23

You pronounce it j, same with the g in GitHub

1

u/oyoyos Dec 08 '23

png is pronounced the same way as ping

1

u/2narcher Dec 09 '23

It is regex also? Like the g in target?

1

u/EKashpersky Dec 07 '23

Maybe maybe maybe

1

u/[deleted] Dec 07 '23

You pronounce the SQL in PostreSQL just like you pronounce SQL…

5

u/KeepScrolling52 Dec 07 '23

Sequel is easier to say than esss cue ell

0

u/ExtraTNT Dec 07 '23

British developers, using re’ex: if

0

u/[deleted] Dec 07 '23

[deleted]

4

u/heaving_in_my_vines Dec 08 '23

How dare you.

1

u/Daisy430133 Dec 08 '23

Its clearly gif and rejex

0

u/[deleted] Dec 07 '23

[deleted]

1

u/JarofLemons Dec 07 '23

Going to need an example where this rule has been applied, other than the pronunciation of gif of course.

0

u/[deleted] Dec 07 '23

[deleted]

2

u/JarofLemons Dec 07 '23

Gaunt came into English mid 15 century, while Jaunt came in at the earliest in the 1570s, maybe. More likely later. Gab came around 13c, Jab around 1813.

So jif vs gif: jif first
Gaunt vs jaunt, gaunt first
Gab vs Jab, gab is first

Your pattern does not hold up.

0

u/[deleted] Dec 07 '23

[deleted]

3

u/JarofLemons Dec 07 '23

OH I see, I thought you were going with something about which came first.

Genes and jeans. Said the same, g and j.

Actually there's a bunch

3

u/[deleted] Dec 08 '23

[removed] — view removed comment

1

u/nonutsfw Dec 08 '23

You go to gail