Message from JavaScript discussions

August 2017

— Small functions enforces separating levels of abstraction


I'm all for using functions but you need to be aware that the more of anything you add to your program it will increase the difficulty of understanding it

— Yes, humans decide what is small and what is big, just like humans decide how floats work

— Naturally

— I am going to paste the whole fucking class that i mentioned before, then we can talk about what is readable and what is not

Message permanent page

— Do that

— Pls

— How do you test that block without testing the rest of the function?

— Holy shit

— Yo people can somebody explain what yield is really for? Any use case because I don't really get what the documentation means by generator

Message permanent page

— Wtf is that elseif cascade shit

— Found in a little part of that famous class