Solved
programming stye in C++
Posted on 2013-05-31
I am looking for an opinion about C++ programming style.
I always argue with my manager a lot ;) my manager hates writing a C++ method that has many lines of code where he needs to scroll the screen **which i completely agree** but not everytime.
but even if sees he 50 or more lines he hates it and ask to split it into two or more functions.
well by doing this the runtime has to run more instructions to jump to functions and others...and this can hamper the performance.
I know there is no hard set limit but where do we draw a line to split a function into two or more?