News for hackers. Stuff that matters.
Re:Elixir at PagerDuty by everdev on Thursday June 14, 2018 @02:50PM (#17314308)
You're right that the major downside I can see is the ecosystem is not as big. But when I jumped into Rails over a decade ago, the Ruby/Rails ecosystem was not huge yet either.

But, static typing and being able to compile and deploy a binary is a pretty sweet developer experience. And the syntax is nearly identical to Ruby with a few nice additions. Many companies like ThoughtBot (a huge Ruby adopter) are jumping into Crystal. The future is definitely in compiled/static languages IMO.

Re:Elixir at PagerDuty by temporaryacc62 on Thursday June 14, 2018 @05:35PM (#17315613)
If only there were types in Elixir to get rid of those damn nulls...

Supposedly someone is making a Typescript-like precompiler for Elixir (with ML syntax of course). We are all hoping it succeeds!

Re:Elixir at PagerDuty by OvermindDL1 on Thursday June 14, 2018 @05:39PM (#17315641)
Eh, as far as I know I'm the only one doing that, and even then only as an experiment/playground, and I don't have the time to work on it lately (have to pay the bills after all).

It's not compiling to elixir, but the `alpaca` language compiles to the BEAM (via erlang core I think) so it gets you close, although they are not black boxing messages sadly.

If you know of someone else doing typing experiments on top of elixir, please link me (my playground code is on my github repo somewhere)!!!

Re:Elixir at PagerDuty by temporaryacc62 on Thursday June 14, 2018 @05:51PM (#17315743)
Found it https://github.com/wende/elchemy

The idea seems just like Typescript, a very interesting project!

Re:Elixir at PagerDuty by OvermindDL1 on Thursday June 14, 2018 @05:54PM (#17315758)
Oh yes! Elchemy! How'd I forget about that one (I keep pushing it around!)! ^.^;

It is based on Elm so it has a severely limited type system but it is the most complete on Elixir so far. :-)

Re:Elixir at PagerDuty by MitjaBezensek on Thursday June 14, 2018 @07:10PM (#17316175)
This is probably my only gripe with it. I really like static types, since the tools can be so much better in that case. VSCode + ElixirLS is ok, but far from Elm, Typescript or C# in that regard. I've been trying out Dialyzer and Credo, but it all seems so clunky to use.
Re:Elixir at PagerDuty by _asummers on Thursday June 14, 2018 @07:45PM (#17316353)
If you haven't seen the new Dialyzer messages in Dialyxir, I just finished a big effort to improve those messages dramatically for Elixir consumption. Release is in RC currently.
Re:Elixir at PagerDuty by mercer on Sunday June 17, 2018 @10:14AM (#17332442)
Thanks a ton for your work!
Re:Elixir at PagerDuty by nasmorn on Thursday June 14, 2018 @04:35PM (#17315131)
If you mean your future, you could certainly be right. But if you mean the future of all programming I would like to say that compiled/static languages are in fact the past.

They are super useful and given a complicated enough problem/ sophisticated enough programmer they will look like a good enough solution for all problems. But ... Wordpress

Re:Elixir at PagerDuty by handbanana on Thursday June 14, 2018 @05:35PM (#17315611)
Why are they a thing of the past?
Re:Elixir at PagerDuty by nasmorn on Sunday June 17, 2018 @07:08AM (#17331858)
Because in the past they dominated everything. This will not happen again. For some problems/people the ease of dynamic languages are simply more important than the correctness/speed issues you deem as paramount.

I don’t mean no one will or should use static languages but believing they will once again dominate like in the 80s and 90s is an illusion imo