Hi,
killer feature for me is possibilities to interact with running system.
You can send arbitrary messages to arbitraty processes, call arbitraty
functions, restart anything by hand. This gives utmost flexibility to
inspect and fix a running system.
$ erl -setcookie company_name -sname d
> net_kernel:connect_node(db@p1).
true
> rpc:call(db@p1, yodadb, how_are_you, []).
{still_alive, [some, stuff], but_soon_will_die, [why]}. ...
--
Motiejus Jakštys
Hi,
killer feature for me is possibilities to interact with running system.
You can send arbitrary messages to arbitraty processes, call arbitraty
functions, restart anything by hand. This gives utmost flexibility to
inspect and fix a running system.
$ erl -setcookie company_name -sname d
> net_kernel:connect_node(db@p1).
true
> rpc:call(db@p1, yodadb, how_are_you, []).
{still_alive, [some, stuff], but_soon_will_die, [why]}. ...
--
Motiejus Jakštys
Sent from my iPhone
I liked the fact that erlang was an "old" language --- not "flavour of the month" or "new kid on the block". Erlang had matured for so long quietly --- like good wine or cheese. This helped my client of the time go with erlang too --- the huge projects that erlang had been used for.
Line-by-line erlang can feel difficult and slow to work with, but when you look back at what you've created (and consider how you might have created that in Your Other Favourite Language), you realise erlang is a very helpful language.
I like the fact that "behaviour" is spelt properly.
Ivan
--
hilaritas excessum habere nequit.
So you get systems that run effectively with less code, less testing,
and less maintenance.
I'd be curious how many people, based on their experience building
production Erlang systems, would agree or disagree with this.
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions