|
|
|
|
|
by thesnide
94 days ago
|
|
in a nutshell: clear defined helper functions are much better for comprehension than bigger functions. and they usually cost nothing ar runtime sine the compiler inlines them anyway. But the real cost is that having a myriad of them is usually very difficult to get the right cut. not too small not too big and having a clear intend of what it exactly does. so nothing new. API design is hard. naming thing even more so. |
|