Darren New wrote:
> I do love it when someone is *subtle* about it...
>
> From the erlang FAQ:
> """
> The solution is usually to use case instead. Case is used much more
> frequently than if in most Erlang programs:
>
> issue_warning() ->
> case os:type() of
> {win32, windows} ->
> ok = io:fwrite("you are using windows\n");
> _ -> ok = io:fwrite("no problem\n")
> end.
> """
>
> I even read that a couple times before I realized it was a bash. :-)
>
I think it is a reference to that infamous warning of a windows beta
when you used another DOS than MS-DOS. Back in those days that MS still
made the distinction between an OS and a GUI.
Post a reply to this message
|