News for hackers. Stuff that matters.
Re:JavaScript Is Weird by pansa2 on Monday June 28, 2021 @06:15AM (#27659930)
> I think JavaScript is probably the nicest of the big dynamic scripting languages (Perl, PHP, Python, Ruby) to work with.

As an experienced Python programmer learning JavaScript, this isn’t true for me yet but I hope it becomes true. I think JS will be much more useful to me than Python.

> Which is fairly easily banned with a linter.

Any particular recommendations?

Re:JavaScript Is Weird by furstenheim on Monday June 28, 2021 @06:19AM (#27659959)
Eslint is the default linter. Standard is a curated list of rules with good quality.

https://github.com/standard/eslint-config-standard

I would start with that and tweak what you don't like

Re:JavaScript Is Weird by dfabulich on Monday June 28, 2021 @06:19AM (#27659961)
> Any particular recommendations?

TypeScript.