[erlang-questions] non-trivial supervisor idioms? -- An open-source plea!
Thu Oct 28 09:23:49 CEST 2010
On Thu, 28 Oct 2010 03:58:46 +1100, Thomas Lindgren
> ----- Original Message ----
>> The obvious answer is to look at some open-source code. But when most
>> open-source projects have learned Erlang the same way it becomes a
>> case of the
>> blind leading the blind. Problems that must have already been
>> experienced and
>> dealt with at Ericsson are repeated. A large production-ready
>> project written by battle-hardened experienced Erlang programmers
>> would really
>> fill in that void. Something big and sufficiently complex like a
>> soft-switch or
> Hi Edmond
> You can find a lot of useful stuff in the Erlang/OTP distribution itself.
This is true, I have been doing this. For instance the hex-encoding I use
now is a modification of the base64 encoder in stdlib.
> (Or read and learn from the plentiful open source out there, rabbitmq,
> ejabberd, yaws, mochiweb, etc etc.)
I have found yaws particularly useful, in both design and quality of code.
I wonder whether this is by accident! The primary yaws developer is a very
experienced Erlanger who has roots in the OTP team.
> Regarding code quality, I'd say after having seen a large fraction of
> the "old
> school" industrial-size erlang products that there's plenty of blindness
> there too. Most of those programmers were just regular guys.
This is an interesting revelation.
> Interrogating Ulf
> Wiger is probably your best bet in this area.
Something else that needs to be mentioned more is the older Erlang book
from 96 "Concurrent programming in Erlang". The first few chapters offer
very good guides on what to do and what not to do. I discovered that part
i pdf on erlang.org very late long after I had picked up some very bad
habits from the Internet.
- Edmond -
> Best regards,
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the erlang-questions