5 ms·
I think it would be hard for Elixir to replace Python or Go for general purpose CLI tools. Part of what makes Python nice is it's available everywhere. If you
by nickjj 6y ago
I think it would be hard for Elixir to replace Python or Go for general purpose CLI tools.
Part of what makes Python nice is it's available everywhere. If you have a zero dependency CLI tool, using Python is nice because you can just run the script straight up. The standard library also has good support for argument parsing. I've written a bunch of little tools to help my daily workflow on the command line. I always reach for Python or Bash depending on what I'm doing. I haven't really seen a compelling reason to switch.
- deltron3030 6y agoNew Elixir thread -> nickjj pointing out the superiority of Python or Ruby. Lol!
- nickjj 6y ago> New Elixir thread -> nickjj pointing out the superiority of Python or Ruby. Lol! Not really. He asked a question about using Elixir as a general purpose programming language so I gave my honest advice and opinion on using it as a scripting language based on prior experience. Instead of cherry picking my replies out of context, why not go through my entire comment history in all Elixir and Phoenix HN threads? I'll guarantee you'll find tons of positive comments. Here's a couple to get you started after spending 60 seconds searching: - https://news.ycombinator.com/item?id=20267184 https://news.ycombinator.com/item?id=20267184 - https://news.ycombinator.com/item?id=20357572 https://news.ycombinator.com/item?id=20357572 - https://news.ycombinator.com/item?id=17616692 https://news.ycombinator.com/item?id=17616692 - https://news.ycombinator.com/item?id=18838449 https://news.ycombinator.com/item?id=18838449 The first two have over 100 up votes combined for reference. I'm not looking to argue on the internet, but I do find it strange that so many folks in the Elixir community cannot take any constructive criticism of the language in any way. You realize we're all on the same team right? To build kick ass applications that we enjoy building while users enjoy using it.
- dnautics 6y agoJust gonna say, I'm pretty upfront about when not to use elixir, and I have found your attitude to be very pessimistic across several platforms.
- deltron3030 6y agoYou just stick out as somebody who's always complaining, mostly on the official forums.
- nickjj 6y agoI see it more like asking questions, offering suggestions and potentially trying to improve the language and eco-system by offering feedback and sometimes even pointing out things that hang me up. For example, the other day someone asked if Phoenix could ever support similar features of Rails such as having something similar to Rails Application Templates. I thought it was a great idea and it was something I wanted too, so I gave as much feedback as I could around why it might be useful to have. In the end, it looks like most people don't want such generators, or having an ability to build a community around templates like Rails, Laravel and Python. That's based on only a few people commenting to say it's not a good idea and pretty no one else replying saying they wanted it. You might see that as complaining but I see that as trying to fight for a really useful feature that will help grow the community and make it easier for folks to build applications in the end. If I didn't care I would have left the Elixir community long ago. I have way better things to do than troll forums. The project I was gung-ho about developing in Phoenix is no longer using Phoenix because after all of those forum posts and struggling endlessly with Elixir I came to the conclusion it isn't the right technology for me to build web apps in. I continue to sometimes post because I hope one day things will change and I'll try to pick it back up again when the community and eco-system is more mature (from a library selection POV, not personal maturity).
- triplejjj 6y agoThe issue is that there is a gap and if you won’t learn the language nor use it, the gap won’t ever be closed. For example, you said elsewhere a solution was complicated because it used io lists and a binary constructor but both concepts are explained in Elixir’s official getting started guide. So sometimes it feels you are saying things are complex while you don’t seem to be actively learning the language and some will definitely find that frustrating. It would be the same if I went to Rust forums, a language I haven’t yet studied in any depth but read a lot about, and constantly said the ownership mechanism is complicated. Apologies if this comes up as rude. You do seem to be a person open to feedback, so I thought I would drop my $.02.
- romanoderoma 6y ago> using Python is nice because you can just run the script straight up. except when it doesn't work which happens more often than not Elixir is not probably best suited for CLI tools, given the BEAM has slow startup times, but people wrote scripts in Ruby, so it might be acceptable for someone Elixir scripts can be distributed as releases which include the compiled modules bytecode and the VM to run them or as escripts, which are binary executable that can be run on any system with Erlang installed