I completely understand closures now and have done a couple of advanced JS courses on the subject. I haven't worked on big scale projects but have done a couple of smaller ones. Not sure how closures would speed up the development time, I can't seem to pass beyond using closures to keep data private in method, or turn code into some sort of module or use it with setTimeOut to properly use the increment variable.
Care to elaborate? I have been really struggling to put this thing in practice.
1
u/fallen_atreus May 28 '19
I completely understand closures now and have done a couple of advanced JS courses on the subject. I haven't worked on big scale projects but have done a couple of smaller ones. Not sure how closures would speed up the development time, I can't seem to pass beyond using closures to keep data private in method, or turn code into some sort of module or use it with setTimeOut to properly use the increment variable.
Care to elaborate? I have been really struggling to put this thing in practice.