Hi, I think that there are some aspects that might be helpful for MCHPRS:
Replace std::fs with fs_err. Since fs_err can provide more helpful messages on errors, I think this replacement is suitable as it can help us learning more error details when encountering errors about files operations.
Better errors handling methods. I noticed that some code directly used unwrap() to simply handle errors. What if adding more efficient and elegant methods to handle errors?
Code structures optimization. Some structures were considered a little chaotic by me, so I attempted to extract some code logics into independent files to improve readabilities and decrease maintaining difficulties.
If you regard my thoughts as useful suggestions, I'll feel free to help improving that. 😊
Hi, I think that there are some aspects that might be helpful for MCHPRS:
std::fs
withfs_err
. Sincefs_err
can provide more helpful messages on errors, I think this replacement is suitable as it can help us learning more error details when encountering errors about files operations.unwrap()
to simply handle errors. What if adding more efficient and elegant methods to handle errors?If you regard my thoughts as useful suggestions, I'll feel free to help improving that. 😊