Ad
  • Default User Avatar

    Node 18, Mocha, Chai (author gone)

  • Default 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?

  • Default 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.

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar
  • Default 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!

  • Default 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.

  • Default 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.

  • Default 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

  • Default 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!

  • Default 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?

  • Default User Avatar

    You still wanna stand on your perspective, that's fine. Let's just accept that both have some valid point and should stop debating about this. Different people comes from different cultures.

    No, we must argue about this irrelevance until the end of time itself. Y is never a vowel. You're all wrong.

    Just kidding, it might not have come across overly well but I did actually read that comment counting the number of "y-vowels". It's annoyingly correct ofc, if you think about the phonology then yes Y is technically a vowel in many english words.

    That doesn't mean I have to accept the technical correctness of it all, and certainly in the context of "What are the vowels in english?" If you said Y then most people will just laugh at you. And my comment saying that people will continue to complain is just an extension of that. I'm not wrong am I? English/Americans are gonna be here going "why is y a vowel" until either the kata changes or the author goes nuclear and decides to define every letter as a vowel or something. It's just a bit weird, all in all.

  • Custom User Avatar

    I can guarantee you that every Polish person gets utterly confused when Y is not considered a vowel in a kata. For such user, Y is a vowel, always, period.

    I also dont understand what exactly is the problem here. Y being a vowel or not is ambiguous and not well defined in general. Task clearly, unambiguously specifies this, comforming to one of possible, well known interpretations. What is the problem then?

  • Loading more items...