[erlang-questions] Why isn't erlang strongly typed?
Richard O'Keefe
ok@REDACTED
Thu Oct 23 02:08:48 CEST 2008
On 22 Oct 2008, at 8:09 pm, Dan Gudmundsson wrote:
> There is a reason there is no mnesia:read/2 and it is that the third
> argument
> is the lock type which forces you to think what kind of lock you
> want on that object,
> there is no need for that on the dirty_* functions.
This argument would have force *IF* mnesia:read/1 didn't exist.
But it does. It is idle to claim that people are forced to
think about what kind of lock they want when they can already
write mnesia:read({Tab,Key}).
More information about the erlang-questions
mailing list