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.
This comment is hidden because it contains spoiler information about the solution
I was totally over thinking this.. thought you had to pass the args into the function so it wouldn't let me pass any tests.
Check my solution, )
Nice
yes i did that ^^
Isn't the standard form of generator expressions like 'x for x in something if condition else'? I get a syntax error for 'else' using this and only when I moved the if condition first was I able to get results
This comment is hidden because it contains spoiler information about the solution
i tried to find fking mistake about 20 mins in my own same code. I wrote
Javascript
instead ofJavaScript
....I dont know what you did there.. but i will try it
Well, I'm not C++ coder, but as far as I remember, it doesn't look like "good style code" on C++. Also comparing to literal languages is kinda wierd imho, bcs there's no performance quality for speach)
Do you know how can I compare those solutions (mine and this) by performance? Bcs my mentor saying that performance is the most important moment for coder.
Consider this: could you form a sentence based on what you see in the one-liner? Yes. How would is sound if you formed your solution into literal language? More like a paragraph?
I'm not putting judgement on your solution. I'm only considering what it might be like to really consider what readability means.
Fo a lot of coders, a one-liner like this quite easily tells them everything they need to know all at once.
Looks like it's really cool to know it as a feature, but ihmo it very unusable code, at least because it hard to read
This comment is hidden because it contains spoiler information about the solution
Use proper code formatting (triple backticks) please.
saaaameeeeee !
Loading more items...