Currently main.cpp is very clustered due to the heavy usage of std::cerr for output messages. Often times we log every time we use a function. For example, write functions are almost always preceeded by a print statement with "Writing to ". We should just embed these messages in the functions themselves, as smaller chunks are easier to understand.
Currently". We should just embed these messages in the functions themselves, as smaller chunks are easier to understand.
main.cpp
is very clustered due to the heavy usage ofstd::cerr
for output messages. Often times we log every time we use a function. For example,write
functions are almost always preceeded by a print statement with "Writing to