Message from JavaScript discussions

August 2017

— 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

— 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

— Returning multiple values

— Generators are for creating for example infinite lists

— Or a list of values that are computed sequentially