On Mon, 24 Sep 2018, stecdose wrote:

One thing about coding style (it does not affect you - just something that I noticed when reading code): You have put your main() at the end. I want to get an overview of what happens. I start scrolling down, but still reading from line 1. I want to see main, but can't miss the stuff from line 1 to main(), so I read and cant await to get to main(). Finally I am there - I want to know what a function does, I have read it a few minutes before, but was waiting for main, so nothing has been saved to my brain and I read code again... :D

I do the same thing, FWIW. Saves me from having to make forward declarations.

-uso.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to