4 ms·
Rust uses the same static anylasis syntax then Python. This is valid Python `def f(x: int) -> str:`, semicolons and brackets are better syntax for languages tha
by simonwf 11y ago
Rust uses the same static anylasis syntax then Python. This is valid Python `def f(x: int) -> str:`, semicolons and brackets are better syntax for languages that need high control and verboseness to accomplish there goals. Often functions declerations are going to take 2,3.. lines, you need this grammar control.
I am saying this has a maily, Python programmer. The syntax is fine..... once you get what it does, until then it was hair ripping.