I like to put private functions next to their use....
# codingconventions
m
I like to put private functions next to their use. But it gets pretty hard to do that in 1-dimentional space which is file.
🤔 2
t
mg6maciej: gives me an idea for an IDE feature
🙂 2
m
Or maybe even language feature.
t
Like open classes?
m
Like instead of having functions in a file, you could have them on 2D canvas and could clearly see which ones use which:

https://openi.nlm.nih.gov/imgs/512/36/4569431/PMC4569431_pone.0136264.g001.pngâ–¾