News for hackers. Stuff that matters.
Re:Notes on a Smaller Rust by paavohtl on Thursday July 18, 2019 @07:46AM (#20468750)
What other languages do you have experience with? IMO the syntax is not wildly different from other statically typed curly bracket languages. IMO the most alien thing it has in terms of syntax is the use of a single quote for lifetime parameters ('a), but even that is based on the type parameter syntax for already existing languages (OCaml, F#, Standard ML).
Re:Notes on a Smaller Rust by rishav_sharan on Thursday July 18, 2019 @09:26AM (#20469499)
Crystal and vanilla es6 are my favoured languages. I also adore elixir. I have recently done some toy projects in f# using xelmish. I have written small projects in python, nodejs and lua. I have also tried Nim and wren. So while i am not much of a programmer, I love trying new languages. Out of all the languages that I tried, Rust and lisp are the two which scared me off outright just based on the syntax
Re:Notes on a Smaller Rust by leshow on Thursday July 18, 2019 @09:47AM (#20469703)
I don't see where you're coming from honestly. It has familiar C-style syntax, it has type parameters in the form java does with <>.
Re:Notes on a Smaller Rust by rishav_sharan on Thursday July 18, 2019 @09:54AM (#20469773)
Seeing my own list, i don't think i am comfortable with either c or java. So that's probably why. C, java, c++ are other notable languages i never could get into.
Re:Notes on a Smaller Rust by leshow on Thursday July 18, 2019 @03:48PM (#20473302)
javascript also has C style syntax, which you claimed to be familiar with. It's subjective, so I can't say that you're wrong. I just don't get it.
Re:Notes on a Smaller Rust by skohan on Thursday July 18, 2019 @10:46AM (#20470351)
Honestly I have a hard time understanding why you're being downvoted for expressing an opinion.