3 ms·
> imho Elixir is generally not the right tool for the job for command-line user interfaces why? what factors lead you to this conclusion? there's so mamy exam
by rektide 4y ago
> imho Elixir is generally not the right tool for the job for command-line user interfaces
why? what factors lead you to this conclusion?
there's so mamy examples of low grade opinion sharing in the comments. going just a little further to say why you think something, what factoes are good or bad, can provide a real starting point where folks can learn & engage usefully, rather than just subject each other to utterly shallow opinion. another example from elsewhere:
> Elixir is ill-suited to command line apps out of the box.
we should have actual substance to our conversations; again, why?
(my own guess is that beam vm has to get started & is mind of heavyweight... i dunno if that cost even necessarily has to be paid for each program launch or no, maybe there's some trickery to quickly start new cli processes in existing vms. just guessing, not my scene. but what would be negative factors? no one says.)
- fshr 4y agoI completely agree with your points about shallow comments. In a similar vein, while we’re asking for a bit more effort, I’d like to ask you to re-read what you write before posting. There are a half dozen typos and no capitalization. It helps ESL users, gives your subconscious another chance to refine your comment, and makes it easier for each reader to focus on your ideas without distraction.
- brabel 4y agoI have no horses in this race, but a good language for a CLI is a language that generates small binaries that use little memory and start up very fast. I can think of three languages that I would use based on that: Go, Rust and if I was feeling adventurous or wanted to be able to execute scripts, Common Lisp (it's surprisingly fast, in the same league as Rust, for small programs). Does Elixir compare positively to those in these categories? EDIT: some people on this thread say it takes 200ms just to start an Elixir program. That's three times slower than Java, which is generally not considered a good language for CLIs.