|
|
|
|
|
by rakpol
3628 days ago
|
|
I was thinking about the issue of nested code the other day -- isn't it (mostly) an editing environment problem? I mean, if my IDE can detect that a method is pure, couldn't it do a little magic (e.g. provide a different coloured background, some dotted boxes, etc.) and show me the inlined code right there? It doesn't seem wise to architect your codebase around the deficiencies in your tools, since one is (hopefully) going to long outlive the other. Related: [1]: https://dubroy.com/blog/method-length-are-short-methods-actu... |
|