News for hackers. Stuff that matters.
Re:What are the most polarizing programming languages? by MichaelGG on Wednesday November 04, 2015 @03:59PM (#10509709)
People like JSON? A format that forces spurious quotes, making it hard to read, as well as lacks comments, making it hard to document. Or do they mean as a pure transport format? In which case... Who "likes" these kind of things? I might have strong feelings about endianness (LE just doesn't feel natural) or stupid bases like 10, but a mediocre serialization format?

And it doesn't surprise me that Haskell users dislike thing. Once you use a superior language, you really realize how much things suck. People warn about this in jest: don't learn <fp lang> because you'll hate working in other languages. But it's quite real and true. After being in a high level language with a good type system, working in a "mainstream" language is like trying to explain stuff to a subpar 6-yr-old. It's just incredibly frustrating.

(Working with one customer that chose C for their large codebase due to performance... Except the incredible verbosity ended up hiding terrible algorithms, and the lack of abstraction means changing things is a huge undertaking. Or on C# projects, every 5 lines of code I write I realise how it'd only be one in F#. Or how a long-standing bug would not have been possible due to more sane compiler checks.)

Re:What are the most polarizing programming languages? by an_ko on Wednesday November 04, 2015 @04:13PM (#10509810)
Re:What are the most polarizing programming languages? by gaius on Thursday November 05, 2015 @01:36AM (#10511968)
People who have used XML love JSON.
Re:What are the most polarizing programming languages? by MichaelGG on Thursday November 05, 2015 @12:39PM (#10514774)
I've used both. JSON's quotes everywhere make it annoying to type and read. Zero benefit, just silliness. The lack of comments is also a huge pain. No easy way to document config files. No easy way to cut out part of a message. Just stupid really.

XML's fatal mistake was requiring the name in the closing tag. Had they just used <> or </ or </> people wouldn't mind as much. Also ask the stupid external entity, DTD, and association with "enterprise" terrible designs. But JSON will get there over time. Already people are pushing the equivalent of XSD and WSDL because they are useful.

Re:What are the most polarizing programming languages? by collyw on Thursday November 05, 2015 @09:00AM (#10513303)
I still find XML easier to read (not all the time, but often). And no trailing comma problems.