[erlang-questions] I think I wish I could write case Any of whatever -> _ end.

Henning Diedrich hd2010@REDACTED
Wed May 19 05:36:54 CEST 2010


But for those who crave, does anybody have a tip where to look in the 
precompiler sources to add a _ or ~ or * the way Eric asked for?

Just a starting point to mod would be cool.

Thanks,
Henning

Richard O'Keefe wrote:
>
> On May 19, 2010, at 3:11 PM, Eric Newhuis (personal) wrote:
>
>> I appreciate all your comments.
>>
>> I still don't like temporary variables like X or whatever because 
>> they contain no semantic quality and there is a tension between short 
>> names to make the pattern obvious and longer names for reunderstanding.
>
> The variable name X has been used in the examples,
> because the examples have been free of content.
> No-one, as far as I am aware, is arguing for the use of X
> _as such_, although it is at least better than _  or ~ .
>
> This is why I keep on screaming for *real* examples.
> I predict that in real examples, we can find a way to express
> what we want with meaningful variable names.
>
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list