Kudos to Elixir on rarely making breaking changes

https://twitter.com/posco/status/1093580168868708352

3 Likes

There’s always swings and roundabouts :lol:

Elixir is considered pretty stable now, which is great. However I am personally not bothered by the prospect of breaking changes if it’s worth it and keeps us ahead of the curve/moving forward :023:

1 Like
╰─➤  asdf local elixir 1.6.6 

╰─➤  mix test
....

Finished in 0.08 seconds
3 doctests, 1 test, 0 failures

Randomized with seed 253729

╰─➤  asdf local elixir 1.7.0 

╰─➤  mix test
== Compilation error in file test/ex_core/comprehension_test.exs ==
** (SyntaxError) test/ex_core/comprehension_test.exs:10: unexpected operator ->. If you want to define multiple clauses, the first expression must use ->. Syntax error before: '->'
    (elixir) lib/code.ex:767: Code.require_file/2
    (elixir) lib/kernel/parallel_compiler.ex:209: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6

The API may be stable, but the parser has still been in flux as recent as 1.7.0 in a backwards incompatible way. Need a spec to fix this unambiguously! :slight_smile:

/me still needs to fix that library to work on 1.7+, but that involves breaking the user-end in a backwards incompatible way, blehg…