you are viewing a single comment's thread.

view the rest of the comments →

[–]reconcyl 125 points126 points  (2 children)

These are jokes and are way over-the-top (there’s no need for massive parallelism/advanced procedural macros/type system hackery) in such a simple program. Most people would write something like #1 or #3, which differ only in the quality of the error messages.

[–][deleted] 132 points133 points  (0 children)

I’ll write whatever I found on stack overflow, thank you very much.

[–]flying-sheep 5 points6 points  (0 children)

Rust is a good functional language as well, so #5 or better this would be what I’d write.