> Well, you have to choose modifiers at the end of the day. Rust is actually pretty sane in this regard - just look at Scala for a comparison.
Uh? Could you give an example of what you're talking about?
I'm not using Scala but last time I looked its syntax was much,much better than Rust "syntax".
Posted Apr 4, 2013 16:39 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
[Link]
"qsort(rest).::(pivot).:::(qsort(smaller))"
Rust-lang
Posted Apr 4, 2013 22:55 UTC (Thu) by HelloWorld (guest, #56129)
[Link]
Nobody writes it that way, there's a reason why one is allowed to omit the . and the (). Also, you've confused ::: and ::.
qsort(rest) ::: pivot :: qsort(smaller)
I don't think this looks too bad.
Rust-lang
Posted Apr 6, 2013 13:24 UTC (Sat) by gevaerts (subscriber, #21521)
[Link]
> you've confused ::: and ::
Are you sure you're making the point you're trying to make?
Rust-lang
Posted Apr 6, 2013 16:38 UTC (Sat) by HelloWorld (guest, #56129)
[Link]
Yeah, I know, people confuse + and ++ in C all the time. Oh wait: they don't!
Rust-lang
Posted Apr 8, 2013 11:19 UTC (Mon) by dgm (subscriber, #49227)
[Link]
Indeed, the difference is crystal-clear. But, for some odd reason, it reminds me of Brainfuck and Whitespace.
Rust-lang
Posted Apr 8, 2013 11:45 UTC (Mon) by HelloWorld (guest, #56129)
[Link]
> But, for some odd reason, it reminds me of Brainfuck and Whitespace.
Yawn. Those stopped being funny like 10 years ago.