Re: Code Golf
- Posted by mattlewis (admin) Dec 21, 2008
- 1318 views
SDPringle said...
If you supply a character to the question mark operator it doesn't put a new line:
I don't think it works like you say. Here's what I get when I run your version:
$ exu encode.ex EncodeMe "e,f|M,N|c,d|n,m|E,F|o,p|d,e" 70 109 100 112 101 102 78 102
Here's what I get from the original version:
$ exu encode.ex EncodeMe "e,f|M,N|c,d|n,m|E,F|o,p|d,e" FmdpefNfMatt