Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Genius
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.
Node 18, Mocha, Chai (author gone)
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?
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.
This comment is hidden because it contains spoiler information about the solution
.find() has been added to my list of cool methods
done
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!
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.
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.
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
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!
@196alex, you've crossed an over zealous English teacher, so you've found yourself on the business end of a pedant bomb. Hunker down...
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!
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...