4 ms·
Really? Java has the best syntax out there. It's consistent and very easy to read unlike Go, Rust or the modern languages these days
by hakube 5y ago
Really? Java has the best syntax out there. It's consistent and very easy to read unlike Go, Rust or the modern languages these days
- dragonwriter 5y ago> Java has the best syntax out there De gustibus non est disputandum > It's consistent and very easy to read unlike Go, Rust or the modern languages these days Eh, its Algol-style syntax with a bunch of unique flourishes, like...lots of popular languages. Its nothing special, but its not especially consistent. If your experience is heavily in Java, then it is probably particularly consistent (with your experience) and readable to you, but it doesn't seem to have any features that make it more of either of those than most popular languages in any general, not-experience-dependent, sense.
- nsonha 5y agoGo is like java minus semicolons and classes. I'd say the syntax is the almost the same but go's semantics are more simplified. I dont think there is anything special about java syntax but agree that it's simple and consistent. Java used to not have "var" and looked really dumb by having type and constructer to be the same duplicated thing, but other than that what I hate about it was mostly java beans and accessors. The problem was the idioms, not the syntax.