> Instead you are forced to do something like this: if Logging -> log("Something happened"); true -> ok end For this particular use-case there is much more elegant way in Erlang: Logging andalso log("Something…
> Instead you are forced to do something like this: if Logging -> log("Something happened"); true -> ok end For this particular use-case there is much more elegant way in Erlang: Logging andalso log("Something…