Raku / marketing

Marketing resources for Raku language
15 stars 8 forks source link

"say" in example is inappropriate #3

Closed ajs closed 7 years ago

ajs commented 7 years ago

In the example of rounding errors, the text is: "Pick up your favourite language and see what this line of code evaluates to: say 0.1 + 0.2 == 0.3. It's not clear what the reader is expected to do, here, since the statement evaluates to a syntax error in nearly every programming language (even Perl 5 withou -E).

I would instead recommend:

Pick up your favorite language and print out the result of this arithmetic equality: 0.1 + 0.2 == 0.3

zoffixznet commented 7 years ago

Thanks. Fixed in local sources; will update repo during next update.

untitled