Profile
Back to NewsBack
Dev.to 3 min
Reader Mode
If you are a human, what are you looking for here?

If you are a human, what are you looking for here?

1 day ago
ygritte • • Edited

no-report

Before you run off to Mrs. Sloan and tell on us about the cigarette in the girl's bathroom...

You see, Hallway Harley, ...
...someone...
...has been carving console.log messages into her little hallway monitor desk...

// 2. Anagram

const validAnagram = (str1, str2) => {
  if (str1.length !== str2.length) {
    return false;
  }

  const lookup = {};

  for (let i = 0; i < str1.length; i++) {
    const letter = str1[i];
    lookup[letter] ? (lookup[letter] += 1) : (lookup[letter] = 1);
    console.log(lookup);
  }

  for (let i = 0; i < str2.length; i++) {
    const letter = str2[i];
    if (!lookup[letter]) {
      return false;
    } else {
      lookup[letter] -= 1;
    }
  }
  return true;
};

I hope you know whose Github this is coming from...

Yeah... not that cleeeaan... ay ay ay...

What a shame it would be if...

...

...someone would tell all that...
...to one of those stuck up boomer officers from Clean Code Department?!
You know how cargo culty can they be, right?!
Linter PR police... coming down on all of your Github repos, baggin' and taggin' all the variable names....
Yeah... and you'd pretty quickly find yourself sitting with us in a lame afternoon detention at Boomer HQ.

How about that, Hallway Harley?

You have a nice little thing going there that you built yourself, right?

2026 Mica. Made with sweat and tears for everyone

Unfortunately you wouldn't be accessible for quite a while, Monzo Gonzo.
No phone, no insta, no spanish talks, no jiggly puff, no nothing.
Just Clean Code slides upon Clean Code slides upon Clean Code slides all day, each day, for eternity.

Would you like to sit there all day as a numb Monza Liza?

You know... we don't really want to go town on clean code, so...
Btw, my friend Thea here, is big on cross browser testing, right Thea? Yeah... little bit of Tor on the side in the shadowy a11yway...

But... You could play this cool too... that's always an option.

Now, I don't know yet.
We wanted the next programming puzzle target to be a boy, like extra hyper badly.
I don't know...
@highflyer910 what should we do with aria-stark? Puzzle or something different? Maybe we should cheer her up with my romani future teller cards?

Chat with me