On Mon Dec 4 17:56:11 2023 +0000, Etaash Mathamsetty wrote:
btw you should change the comments from // to /* */, since that's the wine convention. Also make the curly braces go on the next line after the if. There also seems to be a lot of repetition, maybe you could do something to get rid of some of it? Some of the comments also don't really seem necessary, so it would be nice if those got removed.
Updated it: * Replaced `//` to `/* */` * `{` to newline * reduced duplication
I removed some comments but could you point out which ones you think are unnecessary?