Here I show how I solved the second of the codding challenges from Coding Challenges, which is about building a JSON parser from scratch using Test Driven Development. Please read the challenge description to learn more about what we will be solving here: https://codingchallenges.fyi/challenges/challenge-json-parser .
If you just want to see the end code, you can jump to the final section of the blog, but that is not the goal of this post :) . The goal is to show the process of development using Test Driven Development.
Here I share how I solved the first of the coding challenges from Coding Challenges, please read it yourself first: https://codingchallenges.fyi/challenges/challenge-wc.
If you have developed any piece of working code within a team, you may have noticed that several different people often come up with very different solutions for building the same thing. Both of them could work equally well in terms of the functional requiremens of the application, but I believe there is much more to software than that.