polendina
10/14/2023, 12:14 AMWout Werkman
10/15/2023, 10:58 AMDoes using scope functions to evade working with private/local variables is considered a bad practice?That's is completely up to you and the people who will have to read your code 🙂
I think my code starts getting heavily nested.The most effective method of reducing scope (and thus, also nesting) is to extract logic into smaller functions.
polendina
10/15/2023, 8:34 PMThat's is completely up to you and the people who will have to read your codeFair enough. I thought Jetbrains could've had coding practice for such cases.