There is a lot of discussion in the software testing community about programming languages. We start a series of posting about two functional programming languages as we are learning them. So you can learn along with us.
I heard about Elixir and Elm in 2016 when I wrote the first none production line of codes in these languages. What is so special about them? Elixir is a server-side functional programming language, while Elm is a front-end functional programming language. They are both based on the Ruby syntax paradigm. While Ruby runtime is not the fastest or the most stable, Ruby has the most elegant syntax. Can you guess what following code would do:
You are correct, testers are the list, and that one-liner would print all testers from the list.
Functional programming languages do not have classes and objects. In functional programming languages, everything is about functions.
The most important feature for functional programming languages is no side effects on values. What goes into function could not be changed in that function. Instead, the function returns the new value. Always returns the new value.
asdf. That tool helps developers to install various software and their versions on their development machine in almost the same manner across different operating systems.
Originally published at https://blog.tentamen.eu on March 30, 2020.