This is a legacy code kata, to practice breaking the dependencies (i.e., dependency-breaking techniques)
This is an REPL
program:
- Read from the console
- Evalutate the line (Identity function)
- Print the evaluation
- Loop (again)
Add tests for the functionality
Detect bad words (read them from a CSV file, one word per line). Do not alter the printing yet.
When detecting bad words, print "****" (one star for each character). The detection invalidates the whole line, not only the bad word itself