DEV Community

Ali Spittel
Ali Spittel

Posted on • Updated on

While (!cantNoMore){ ride() } šŸ¤ šŸ“

let cantNoMore = false

function ride () {
  console.log("take my horse to the old town road")
  console.log("ride")
  cantNoMore = true
}

while (!cantNoMore) {
  ride()
}

const horses = {
  location: "back",
  tack: "attached"
}

const me = {
  hat: "matte black",
  boots: "black to match",
  ridingOn: "horse"
}

const you = {
  whip: "Porsche",
  beenOfPorch: false
}

const cantTellMe = null

me.life = "movie"
me.cowboyHat = "Gucci"
me.booty = "Wrangler"

cantNoMore = false

while (!cantNoMore) {
  ride()
}

const BillyRay = {
  living: "like a rockstar",
  spentMoneyOn: "brand new guitar",
  stress: false,
  like: "Marlboro man"
}

cantNoMore = false

while (!cantNoMore) {
  ride()
}

I don't have a soundcloud but plz subscribe 2 this new tag.

#jokes

plz post the lols

Latest comments (9)

Collapse
 
shahor profile image
Shahor

I think double negatives have to be the most confusing thing I ever see in code.

Collapse
 
iam_timsmith profile image
Tim Smith

So many negatives! !cantNoMore lol

Collapse
 
milcahhalili profile image
Milcah Halili

Omg. This made my day.

Collapse
 
kbinny62 profile image
kbinny62

// commit log: better rhyme with song
do { ride(); } while (!cantNoMore);

Collapse
 
volysandro profile image
Sandro Volery • Edited

while (BillyRay.haircut != hairstyles.Mollet) {
ignore();
}

Collapse
 
markwaterous profile image
Mark

Well shoot dang everyone already ran spellcheck and did their code reviews, what are the rest of us supposed to do, just enjoy the joke? I guess I'll do that if I must.

Collapse
 
ctrlshifti profile image
Kat Maddox

This shouldn't exist, but I'm really glad you made it. Thank you

Collapse
 
codemouse92 profile image
Jason C. McDonald

BillyRay spent money on a brand new guidar? I think that's a typo.

This is pretty funny all the same.

Collapse
 
aadibajpai profile image
Aadi Bajpai

*guitar :)

What about diamond rings and Fendi sport bras?