News for hackers. Stuff that matters.
Re:Rust can be difficult to learn and frustrating, but it's ... by emmelaich on Tuesday October 23, 2018 @05:29AM (#18281957)
There is no such thing as white space insensitive language.
Re:Rust can be difficult to learn and frustrating, but it's ... by kbob on Tuesday October 23, 2018 @02:52PM (#18286289)
Fortran IV came close. You could put spaces in the middle of identifiers, keywords, and numbers, and the compiler ignored them. The language did not require spaces as separators anywhere. Spaces were only significant in Hollerith constants (what we'd call string literals today) and in columns 1-6. Columns 1-6 were reserved for line numbers, comment signifiers, and continuation marks.
Re:Rust can be difficult to learn and frustrating, but it's ... by emmelaich on Tuesday October 23, 2018 @09:05PM (#18288855)
Indeed, the classic resulting bug was the do loop with a typo. Instead of comma the program had a period. So this

   DO I = 1.100
was interpreted as assignment

   DOI = 1.1

Though contrary to urban legend it did not result in the loss of any rockets.

   http://catless.ncl.ac.uk/Risks/9.54.html#subj1
Re:Rust can be difficult to learn and frustrating, but it's ... by village-idiot on Tuesday October 23, 2018 @08:16AM (#18282679)
Aside from strings, isn’t C white space insensitive?
Re:Rust can be difficult to learn and frustrating, but it's ... by kbob on Tuesday October 23, 2018 @02:54PM (#18286305)

    intmain()
    {
        r etu rn0;
    }
Re:Rust can be difficult to learn and frustrating, but it's ... by majewsky on Tuesday October 23, 2018 @05:20PM (#18287603)
The tokenizer is. `ab` is different from `a b`.