in reply to Re^5: Elegantly map fizz to buzz
in thread Elegantly map fizz to buzz

Okay. But, as an example of the kind of stuff that throws my head into a loop:

And that's just the first example. And I like concise code more then most.

NB: I'm not wanting anyone to explain this to me; I want code to be understandable.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^7: Elegantly map fizz to buzz
by Laurent_R (Canon) on May 18, 2016 at 06:34 UTC
    OK, I must say that you've got a point there. ++. And I also took you point that here is no need to try to explain it, that's not the issue.

    This is Rosetta Code, quite often the code there is very concise, almost golf. But your last example is not from Rosetta, but from the P6 documentation, so this is no excuse, and I agree that this is quite obscure.

    Having said that, there is really a lot of code out there that is easy to understand, you can read and write a lot of code without getting into what appears to be an obfuscated contest entry.