[erlang-questions] Parallel Shootout & a style question

Mats Cronqvist <>
Tue Sep 2 12:14:58 CEST 2008

Hynek Vychodil wrote:
> I argue to check monitor reference in receive every time. It is not 
> good practice omitting it. You don't know which depthLoop's 'DOWN' 
> message you received. In some particular case it can doesn't matter 
> (as in this concrete do!) but do it is safer and good practice.
  i'd say that a receive should normally have either an {'EXIT',..}, a 
{'DOWN',...} or an 'after' clause.


More information about the erlang-questions mailing list