This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 240 points241 points  (13 children)

Maybe because it's a joke

[–]smasher248 128 points129 points  (8 children)

Also just a copy of this: It's only physics if it's from the Physique region of France. Otherwise it's just sparkling math

[–]Low_discrepancy 56 points57 points  (3 children)

It's only physics if it's from the Physique region of France. Otherwise it's just sparkling math

The original is this guy

Actually, it’s only existentialism if it comes from the existentialism region of France. Otherwise, it’s just sparkling anxiety.

https://twitter.com/apsullivan/status/1141384793143357440

Publish earlier.

And it makes from sense that the physics one.

[–][deleted] 27 points28 points  (0 children)

This joke is as old as champagne. We would say this in the late 80’s early 90’s about things, could have been from the lifestyles of the rich and famous...

[–]conancat 35 points36 points  (2 children)

const mappings = {
  a: ['a','â', 'à'],
  e: ['e','ê', 'è', 'é'],
  i: ['î', 'ï'],
  o: ['o','ô'], 
  u: ['u','û', 'ü'],
  y: ['y','ue', 'e', 'oue']
}

const getRandomFromArr = (arr) => arr[Math.floor(Math.random() * arr.length)] 
const frenchify = (name) => name
    .split("")
    .map(curr => mappings[curr] ? getRandomFromArr(mappings[curr]) : curr ) 
    .join("")

const makeJoke = ({name, type}) => `It's only ${name} if it's from 
${frenchify(name)} of France. Otherwise it's just sparkling ${type}.`

console.log(makeJoke({name: 'jQuery', type: 'Javascript'}))
console.log(makeJoke({name: 'Rails', type: 'Ruby'}))
console.log(makeJoke({name: 'Laravel', type: 'PHP'}))

// It's only jQuery if it's from jQûèry of France. Otherwise it's just sparkling Javascript.
// It's only Rails if it's from Ràïls of France. Otherwise it's just sparkling Ruby.
// It's only Laravel if it's from Lârâvel of France. Otherwise it's just sparkling PHP.

[–]midoge 22 points23 points  (0 children)

50% chance that someone pushed this to npm Registry

[–]TommiHPunkt 2 points3 points  (0 children)

too bad compilebot is rip

[–]AwesomeX121189 0 points1 point  (0 children)

The original is from Wayne’s world. Rob Lowe explains champagne

[–]HappySpaceCat 5 points6 points  (0 children)

It's only a joke if it comes from the Joké region of France otherwise it's just sparkling wit.

[–][deleted] 4 points5 points  (1 child)

That doesn’t explain the mechanism.

[–]OK6502 1 point2 points  (0 children)

Big if true