User
Write something
Coaching Call is happening in 5 hours
Codewars challenge update
@Cristian Florea I finally figured it out, it took a couple of hours 😆 although to be fair I was making dinner at same time haha. I stumbled upon a stackoverflow post about parseInt(string, radix), console logged to see if worked out to the correct nums, then realised what i had to do. https://www.codewars.com/kata/5a005f4fba2a14897f000086/javascript https://codepen.io/Smiley05/pen/KwzLJEv?editors=0011
PSA about Codewars solutions
Whats good yall Just a quick PSA for those just starting coding problems, so yall can avoid the mistakes I made when starting out I was practicing some Codewars, when I saw this solution at the top. Although it looks very flashy because its 3 lines, its actually terrible! The right solution is BigO(n), but this solution is BigO(n^3)!! As indexOf and lastIndexOf both loop through the array. The next "Best Practices" solution uses an obscure mechanic, a ^ bitwise operator ! Imagine how hard it is to debug a codebase full of this flashy programming😭😭😭 The "Best Practice" practically speaking, is a solution that is easy to read and understand, even if it requires more lines of code. So don't feel down if you're solution isn't haiku-level brief! If it's readable and understandable, its good. 🫡
PSA about Codewars solutions
To Whom It May Concern
Those of you who got coding jobs, how are you faring? What's the work like, do you enjoy it, is it office work or WFH etc.Let the rest of us know, maybe it will be motivating but I'm just asking because curious.
Tic-Tac-Toe
I’m about to start the React course, and since Tic-Tac-Toe is one of the projects included, I decided to first build it using vanilla JavaScript. This way, I can compare the two approaches and better understand the benefits React brings. I know there can be some UI improvements but I focused more on the JS and I am also impatient to start React. Here it is: https://codepen.io/freedomseeker/pen/dPYQKgq?editors=1111 Any suggestions welcome!
Do you have any good codewars katas to share?
Thought to ask if any of you had a memorable kata that either taught you something useful or was just fun to solve. Personally I've started trying out some 5 and 4 kyu ones and those can get really fun sometimes.
1-30 of 112
powered by
Developer Pro
skool.com/developerpro-6146
Learn how to code. Make money. Have fun. Enjoy life.
Build your own community
Bring people together around your passion and get paid.
Powered by