Ad
  • Custom User Avatar
  • Custom User Avatar

    One of these ones where re-running the code with different random tests somehow passes, despite not making any changes to the code. Bizarre. EDIT my code was shite, got a cool new chunking one liner now.

  • Custom User Avatar

    Node 18, Mocha, Chai (author gone)

  • Custom User Avatar

    Yep, lots of comments on this one. I answered the description requirements, then was quite confused as to why my code was failing... Finally look at the testcase answer and see it is radically different to the description output.... Not ideal. Sure you could argue I'm an idiot for not looking at the testcase, but surely it's bad writing to have an incorrect output example for the description?

  • Custom User Avatar

    Kinda dank compared to other 7 kyu's? Or maybe I'm being quite slow today. Okay now I consider it I think I'm very slow.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    .find() has been added to my list of cool methods

  • Custom User Avatar
  • Custom User Avatar

    You may well have found good evidence backing your claim, but I categorically refuse to look at anything that could potentially start to undermine my irrational beliefs. Instead, I will retreat further into my shell by only recognizing Y as either a vowel or semi-vowel. The concept of Y as a consonant be banished!

    Call me obstinate, call me an ideologue, call me an obstinate ideologue, or call me a twat. You probably wouldn't be too far off with any of these characterizations, but one thing is for sure, you Y-Consonanters have had your day!

  • Custom User Avatar

    Thank you for the clear, robust definition of consonants in this kata. It's a true relief to see this common-sense knowledge being passed on.

  • Custom User Avatar

    You can have fate on your side, but I have just stumbled upon this conclusive proof that Y is in fact a consonant: https://www.codewars.com/kata/5a19226646d843de9000007d

    Read it and weep, fellow Y consonant users have coalesced and produced this brilliant counter kata. I have also decided that the solution to this issue is for me to avoid all suspicious usage of Y as a "vowel" henceforth. I think you will find this response adequate in this regard, and I'm quite enjoying being forced to re-evaluate the words I use. Yet, a single perfect tear leaves its mark upon mine face as I see how beautiful the english language can be without this fake vowel. Perhaps this issue should be taken to a higher judicial level, and all Y vowel words must be purged from our lexicons. I shall not miss them.

  • Custom User Avatar

    Valiant you may be, but I'm afaid your cause is lost as I have destiny on my side seeing as it can be no coincidence that VICTORYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY!!! is spelled with a vowel Y

  • Custom User Avatar

    Incredible thank you. Ultimately this is just ignorance of english on full display, but it's also true that we simply are not taught y as a vowel, so it's hard to shake that ingrained knowledge.

    Which is quite odd, why is y simply put in the consonant box? Why is this potentially a regional thing within england, if there are actually english teachers aware of this? Why is english in general so... English?

    Well, that's a problem for the linguists and english students. I'm either going to become "that guy" and start asking people to list all the vowels to say ACTUALLY, or I'll double down to spite the welsh specifically (despite quite liking wales).

    I'm doubling down. You yanks will never understand the rich culture that you abandoned, and we're never going forgive the loss of all that tea. To arms!

  • Custom User Avatar

    @196alex, you've crossed an over zealous English teacher, so you've found yourself on the business end of a pedant bomb. Hunker down...

    English/Americans are gonna be here going "why is y a vowel"

    I'm not sure you should lump Americans into this group... I've never had any qualms thinking of Y as a vowel, and actually have a harder time seeing it as a consonant. Probably because, even using the structural definition (i.e where the Y falls in a word), most occurences in English are categorized as vowels (I'm unaware of a definition which extends beyond mere assertion that has most English occurences of Y being categorized as a consonant).

    However, let's be honest, nobody cares about that dross... It's come down to a battle of whose schoolhouse rote will win the day. So, don't give up, and fight to the death we shall! Arbitrary definitions must be defended!

  • Custom User Avatar

    It is sometimes a vowel, and mostly a consonant.

    Trying to not look through the keyhole of one specific language, a serious, honest question: out of all distinct languages which recognize the letter Y, how many of them considers it as a vowel, how many as a consonant, and how many as "it depends"? Has anyone any idea here?

  • Loading more items...