News for hackers. Stuff that matters.
Re:The Rust programming language by rnicholson on Thursday July 08, 2010 @08:58PM (#1499326)
From the PDF:

Rust is a curly-brace, block-structured statement language. It visually resembles the C language family, but differs significantly in syntactic and semantic details.

I'm not a programming language buff, but why curly-braces and C-style still in 2010?

Re:The Rust programming language by billmcneale on Thursday July 08, 2010 @10:30PM (#1499519)
There are basically three choices:

1) space significant (Python, Esterel) 2) braces or other one character delimiters 3) begin/end or other word delimiters

I find 3) very noisy and while I like 1) (even though I dislike Python), I find that 2) is a pretty good compromise, one where I don't find myself having to visually parse classes ending in "end end end end end".

Re:The Rust programming language by jamesbritt on Thursday July 08, 2010 @11:47PM (#1499696)
Within (1) there are options, as presented by Haskell (the offside rule) and Haml (you must indent exactly to _here_, no more, no less). The latter is nuts ("significant dementation", one might say. :) ).

Plus some languages, such as Haskell, allow for both braces and significant indentation, with the language culture encouraging responsible usage.

Re:The Rust programming language by makmanalp on Thursday July 08, 2010 @10:07PM (#1499459)
What exactly is about curly braces that implies outdatedness? Because some other old languages use it?
Re:The Rust programming language by jamesbritt on Thursday July 08, 2010 @11:41PM (#1499682)
Or the reverse: RPG and FORTRAN had it, so in what way is significant white space a marker of modernity?
Re:The Rust programming language by riffraff on Friday July 09, 2010 @09:43AM (#1500548)
ditto for begin/end
Re:The Rust programming language by rnicholson on Friday July 09, 2010 @03:40AM (#1500075)
Well, I initially just saw it as 'just more of the same' -- and questioned why is that good? Don't know. Trying to find out. Amongst all these other improvements over other C family languages that I read, why not syntax too? Perhaps as alnayyir said above, I'm bikeshedding and shouldn't care so much... Again, I'm not well versed in programming language design, etc so my original comment (and probably this one) certainly has an amount of naïveté.
Re:The Rust programming language by keefe on Friday July 09, 2010 @12:04AM (#1499735)
seriously.

+ is sooooooooooo 1600s, we should restandardize with ʮ for addition so that + strictly applies to string concatenation...

Re:The Rust programming language by alnayyir on Thursday July 08, 2010 @09:19PM (#1499365)
Most familiar to the largest number of people, easy to parse, only people who want to complain about the color the bikeshed instead of the semantics of the language will care.

--- professional Python coder

(P.S. I like significant whitespace, but I also really don't care.)