r/ProgrammerHumor • • Mar 20 '24

Meme areJSDevsActuallySane

Post image
14k Upvotes

554 comments sorted by

View all comments

Show parent comment

4

u/Raunhofer Mar 20 '24

Because it is short for Regular Expression? Why would one take three letters of the first word and two of the latter? What kind of madman are you?

3

u/HappyVlane Mar 20 '24

Have you ever heard anyone say "Regexp" in real life? It's either "Regex" or "Regular expression".

1

u/Raunhofer Mar 21 '24

I once had a junior dev who thought that Regular Expressions and Regex were different concepts as they look so different. In that sense, a more systematic RegExp can be argued to be a more beneficial in some cases.

And yes, RegExp is usually pronounced Regular Expression, in similar fashion as const is constant. The point is to convey meaning.

1

u/HappyVlane Mar 21 '24

In that sense, a more systematic RegExp can be argued to be a more beneficial in some cases.

That would lead to the same problem that you described however.

RegExp is usually pronounced Regular Expression

They cannot me pronounced the same way. That's impossible.

1

u/1Dr490n Mar 20 '24

Well it’s called Regex almost everywhere

2

u/[deleted] Mar 20 '24

These are the same people who pronounce gif as gif.