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.
@vinceAggrippino
There's no such thing as production code vs creative code. there's either good code or there's bad code. There's many ways to get code to do the same thing but there's often one solution that achieves all goals better than any other.I'm glad you learned how the bitwise XOR operator works, but you should also be knowing how to look at code and determine if this is something you should strive to be able to do in your own coding or not. and this is 100% a not.
If you ever want to work in a team, this is not the type of code that they will want to see. and if your coworkers need to debug this code, it will take them a long time to figure out, just like it took you a long time to figure out. The difference is that programmers want a lot of $$ for their work and it will cost the company a lot to have a programmer scratching their head for 2 hours trying to figure out what you wrote. so to become a better programmer is also about learning how to write code in a readable way.
Everyone's posts are super positive, and they're amazed at his coding skills, but let's be honest the next developer is going to have a hell of a hard time understanding this code. even if it works besides for the function name I would have absolutely no clue what this code was accomplishing. I'll give you kudos for creativity but I'm not going to pretend like this is a great coding practice to write code like this. code is meant not just for running but also for reading.
This comment is hidden because it contains spoiler information about the solution
I find it kinda challenging to understand how the solution works. I wouldn't be happy if I saw that in my code base and needed to debug it