Message from JavaScript discussions

July 2017

— I like Airbnb's philosophy on this


Spacing in a function signature. eslint: space-before-function-paren space-before-blocks

Why? Consistency is good, and you shouldn’t have to add or remove a space when adding or removing a name.

// bad
const f = function(){};
const g = function (){};
const h = function() {};

// good
const x = function () {};
const y = function a() {};

— This

— Nice

— I autoformatted all my JS just now and it removed my spaces :P

— I have been using VS code for a few days, I like it!

— Wayyyyy less clunky than Atom IMO

— And has some pretty good standard features, but at the same time lacks some

— Like... no settings panel... really?

— But I don't mind editing JSON :P

— Yeah, VSCode is really great

— Heh, yeah, missing settings panel is pretty meh