perli icon indicating copy to clipboard operation
perli copied to clipboard

Why are you using Node

Open ghost opened this issue 5 years ago • 3 comments

This is not JavaScript

ghost avatar Jan 26 '19 05:01 ghost

Ah, I see - it's a good thing I didn't go with my initial choice of name, "javascripti". 😜

The truth is that I was already familiar with npm as a capable cross-platform package repository and manager that can also handle CLIs, and I didn't want to spend the time learning how to publish to CPAN too.

Do you think limiting the availability to npm makes many people miss out on / not bother with perli?

mklement0 avatar Jan 26 '19 13:01 mklement0

its just... weird

technically its fine, but personally i think the whole Node project is ridiculous

javascript isnt and wasnt ever meant to be a systems programming language, it just seems like the whole project is people trying to ram a square into a circle

then you get projects like Electron and shudder

i think youd be much better off on https://metacpan.org

ghost avatar Jan 26 '19 13:01 ghost

Part of the fun of programming is being able to discover new ways to use existing tools rather than re-inventing the wheel or resorting to manually doing what you need.

NPM is a package manager designed to work for JavaScript projects, but it doesn't mean it only has to work for JavaScript. If you look in the package.json file, it only has a devDependencies section, which should give you a clue as to what NPM is doing here.

Same reason why most GTK python projects use meson as a package manager even though meson does not list python as one of the languages it supports. They use it because meson is a more configurable option than setup.py, for cross-platform development

smac89 avatar Feb 27 '21 04:02 smac89