6
BordedDev
14h

Just finished the code tests. I swear all of them could have just been regex. The first 2 I know can be because I did.

The last one was pattern matching in an array of strings (think battleships)

I actually fucked up the second test because I decided that they probably want code instead of regex...

Comments
  • 5
    So... have you saved the world, yet?

    https://imgs.xkcd.com/comics/... .
  • 3
    @D-4got10-01 Hahaha, it was simple stuff, conditionally truncating a string (based on length) and adding ellipses and removing the largest number 5 from a number e.g. 51 -> 1
  • 3
    @BordedDev Good. Now, let's wait && see what their reply is.
  • 1
    @D-4got10-01 that comic is my alter ego that again has to learn regex to use it once in a blue moon. Each time rip off my outer shirt to reveal the large logo of an R on my under shirt.
  • 2
    I get so overly excited whenever there’s an opportunity to use regular expressions. I actually had a legitimate reason to write regular expressions at work a month or so ago and every standup for a while was like “I AM SO FREAKING HAPPY RIGHT NOW (I AM SO SORRY FOR WHOEVER HAS TO REVIEW THIS PR - I’LL TRY TO COMMENT EXTENSIVELY)”
  • 1
    @YourMom I bet there's an 'X' on the back of that shirt.

    /jk
  • 1
    @D-4got10-01 ooh, Rx, the regex doctor/pharmacist is here! You know, regex can be an addiction. So I think Rx should imply the regex drug dealer is here.
Add Comment