2 ms·
Do you test your inputs as soon as the function starts, or where you need them? Or not at all? Do you write lots of little functions, or few big ones? Do you li
by geofft 12y ago
Do you test your inputs as soon as the function starts, or where you need them? Or not at all? Do you write lots of little functions, or few big ones? Do you like passing by value or reference when either would work? Do you prefer this wrapper class or that one? Do you use this language feature or that mostly-equivalent one? What are your externally-visible symbols (like API functions) named? How do you report errors,a and what sort of grammar do you use? How much do you log? Do you allocate medium-sized structures on the stack or the heap? Do your for loops count up or down? Do your error-checks on UNIX functions test for == -1 or for < 0? Do your own functions return -1, 0, or something else on error? etc.