Comments are good when you’re doing something weird to handle an edge case or something. But yeah most of the time clear variable names, and extracting complicated code to a dedicated and clearly named function, are enough.
There are only two hard things in Computer Science: cache invalidation and naming things.
As a Frenchman who’s really into live music I would, and I do! Yeah I know, COVID and shit but in the middle of a festival, having a blast and surrounded by like-minded people, if you ask nicely and I have some to spare I’ll give you a joint without thinking twice!
npm means it’s a JS app running on a JS runtime, which is roughly similar to what python does. Electron runs on top of the runtime and indeed provides some kind of stripped down browser.
But yeah, in this case the app does use electron :)