Message from JavaScript discussions

January 2019

— Except you're required to use newlines where not using them might be preferrable in some cases

— 

Consider:

const map = f => list => list.map(f);


vs

const map = f => list =>
list.map(f);


vs

const map =
f =>
list =>
list
.map(
f);

— The last one is almost certainly not what you want

— While Python might require something like that in some cases

— map = (f) -> (list) -> list.map f

— Can you newline if you want to?

— At any point?

— Like the last example?

— I am ultra clever

— Https://youtu.be/S4AmLcBLZWY

— Got some functional uber-tech here☝️, guess what it does😅

— Users have problems🤤