indeed. thats strange
Is this a case where nested ternary operations are okay? I considered trying a solution like this before using an if, else if, else block, but figured that nested ternary operations weren't ideal. This one isn't too over the top with ?'s and :'s, but I didn't know if this truly was best practices.
Oh come on, if your program gets "3angle" as an integer input, you should let it die, not pass the error silently to the next unsuspecting function.
This comment is hidden because it contains spoiler information about the solution
Woow!! I didn't know that! Super usefull, Thanks!!!
I don't understand what this part of the code means " +digits[ix] "
Why do you use a "+" before "digits[ix]"
Thanks in advance
I've never really understood why comments on specific solutions for specific katas go to a feed that appears on the main page but yeah, you have to be aware of that when commenting about specifics of a solution.
Sorry, my mistake, i didnt realize it was wrong!
Hi jmaric, you probably don't realize it but you just revealed a solution on the main comment thread for all to see. I have added the spoiler tag to your comment to prevent that now, but you should know it is forbidden to post solutions like that.