4 ms·
If you judge your programming languages based on personal aesthetics of the 'beauty of the code', you're wondering off into lala land. Go has a better syntax t
by shadowmint 12y ago
If you judge your programming languages based on personal aesthetics of the 'beauty of the code', you're wondering off into lala land.
Go has a better syntax that rust, objectively, because it refuses to create new operators that are not orthogonal to existing ones. That makes it easier to parse because there are fewer 'code synonyms' (eg. the rust Fn<(Arg1, Arg2), (Rtn)> is identical to Fn<Args, Arg2> -> Rtn; to be fair go has its share of these irritations as well; eg. x := 1, vs var x = 1; but fewer of them)
It's got nothing to do with how pretty or ugly the code is.
- bwilliams 12y agoIt also starts looking better aesthetically after writing a good bit of Rust code and understanding what everything is doing at a glance.
- kid0m4n 12y agoThe Rust code in this example looks extremely busy. A lot of cognitive load for the sake of performance and safety. Also what is stopping a LLVM backend for Go being developed?