• ###### Girruxcommented on "Deodorant Evaporator" kata

(I know that the suggestion is 6 years old, but I want to add a small not-so-serious explanation for the kata task)

Actually, the procentual loss doesn't seem too far fetched. The loss could be because the evaporator is not sealed perfectly air-tight (alright, alright, then a "gas-container" would be a better example than an evaporator) and at day n we try to use it for the first time and want to know if there's still enough deodorant left to be worth it.

Alternatively, the total amount of gas in the evaporator could stay the same while just the ratio of deodorant to normal air decreases. This way, we use the same amount of gas every morning with an decreasing amount of actual deodorant, in which case, indeed, stinking greetz! :D

• ###### sdpaulsencommented on "Is n divisible by x and y?" javascript solution

`if (condition) return true; else return false;`
can always be rewritten as
`return (condition);`
...and usually doesn't even require the parentheses around the condition.

perfect

• ###### ernestomelchorcommented on "Is it even?" javascript solution

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

• ###### bored69commented on "Vowel remover" javascript solution

I know it was old but any chance I get to vent my hatred for ES5, I take it :D

• ###### Voilecommented on "Vowel remover" javascript solution

That comment was from 2 years ago.

Also, it doesn't help that every single entry level programming site (e.g cough Codecademy and FCC) are all still teaching ES5 and treating ES5 as the norm. Even their linter is set to ES5 and will warn you for using ES6 features (e.g `=>`).

• ###### bored69commented on "Vowel remover" javascript solution

Pre-ES6 JS is garbage though :x

• ###### VivianSolidecommented on "A Memory game array" kata

Hi, it's not very clear.
I had to see the tests cases in order to finish the kata.
I didn't get any points :/
The 7th test isn't really useful.

• ###### hksongcommented on "Deodorant Evaporator" javascript solution

I can't upvote this simply because of `evap_per_day`.

Yes, it was the author of the kata that did it originally, but `evap_per_day = ` is not something the author wrote.

• ###### JohanWiltinkcreated an issue for "Classy Polynomials (Part 1)" kata

Needs a test for `Polynomial([1])`.

My solution has a bug, but passes.

• ###### donaldsebleungcreated an issue for "Classy Polynomials (Part 1)" kata

Needs random test cases

• ###### nishanoirecommented on "Base64 Encoding" kata

Yeah, I agree. I did the same thing you did. I did NOT deserve level 3kyu on that. Especially comparing to other people that actually created their own functions.

• ###### OverZealouscommented on "Vowel remover" javascript solution

While it's true that's shorter, I'd say for a new JavaScript developer, it's probably a good idea to avoid ES2015 code for a bit. It's not fully supported anywhere unless you transpile it back to ES5, and even then, you have to polyfill much of the changes, and there's no way to polyfill Proxies. This leads to lots of caveats that can get a new developer in trouble.

• ###### Ismailcommented on "Array Imposter (a.k.a. String Undercover)" kata

I think my browser addon (uMatrix) was blocking parts of the output... Thanks

• ###### sirRodgecommented on "Array Imposter (a.k.a. String Undercover)" kata

Don't think I disabled console.log, at least not intentionally. Added failure messages :)