2 ms·
I love this feature. I use it most of the time in large functions where I can group some lines as one logical piece but not generic enough to be a function. It
by owaislone 4y ago
I love this feature. I use it most of the time in large functions where I can group some lines as one logical piece but not generic enough to be a function. It helps with reading the code back and prevents leaking vars into rest of the function scope. Such blocks end up becoming scattered single use functions when extracted out which isn't ideal.