Will learning Prolog help to learn Erlang in a way specific to Erlang? Erlang started as a concurrent Prolog, but is modern Erlang connected to Prolog (beyond syntax)? I understand that learning Prolog might be good in the way learning Lisp is good for programming in any language, but I want to know if learning Prolog will help me to learn Erlang specifically, given Prolog's role in Erlang's "origin story".
An Erlang Course This course usually takes four days to complete. It is divided into 5 modules and has a number of programming exercises.
Although Erlang is certainly useful, it's less accessible for beginners. The steeper learning curve can be discouraging for developers looking for a side project or for beginners who might prefer an easier-to-learn language.
Erlang was designed with the aim of improving the development of telephony applications. The initial version of Erlang was implemented in Prolog and was influenced by the programming language PLEX used in earlier Ericsson exchanges.
One of the main reasons for using Erlang instead of other functional languages is Erlang's ability to handle concurrency and distributed programming. By concurrency is meant programs that can handle several threads of execution at the same time.
No, it won't.
is modern Erlang connected to Prolog (beyond syntax)
No, they pretty much have nothing in common.
It might even make it harder. Major thing that Prolog has but Erlang lacks is backtracking. It means that the program can "go back". It takes some time to get used to backtracking and let the language do the work for you. For instance traversing a graph using backtracking. When you switch to Erlang you have to forget all this.
They both share very common pattern matching style of programming.
I do not recommend learning Prolog prior to Erlang.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With