Message from JavaScript discussions

September 2020

— See, code blocks🤨


No need to search for "js array comparison" function, you can do it in the block, more autonomy man!

— I use functions do I don't need to reinvent the wheel

— And if d is boolean or falsy/truthy, no need for if/else

— Are you a ? operator sectarian🤔

— No

— I am a return result guy

— Or if you really want bool: return !!result

— Ye, and how do you do branching🤔 (function is not over yet, more blocks are coming..)

— I create smaller functions so I don't have to keep local state

— And I keep side effects and computation apart

— When do you need branching? for what?