|
|
|
|
|
by janalsncm
1117 days ago
|
|
> let num : u8 = 5; <-- auto converts to u8; Can we please knock it off with reinventing different ways to declare a variable? This also irritates me about Rust. There’s nothing wrong with having syntax that looks like languages that have existed before. How about [modifiers] [type] [variable name] = [initial value]; What I want in a programming language is not arbitrary new grammars, I want drop-in improvements to languages that already exist. C++ but with better dependency management. Python but statically typed (Mojo where you at?). PHP but standardize all the weirdness. (Some or all of these rants could be out of date as my knowledge cutoff for languages ends at various times in the last 15 years.) |
|