News for hackers. Stuff that matters.
Re:Most Unit Testing Is Waste (2014) [pdf] by raverbashing on Saturday June 29, 2019 @09:04AM (#20312350)
That's because you (and many others) are drinking the static typing koolaid

Now try serializing things in XML instead of JSON. But not one type of message, multiple types, with flexible formats.

"Oh but this never happens" except it does.

Not to mention the iteration speed whenever you need to fix something.

Re:Most Unit Testing Is Waste (2014) [pdf] by walshemj on Saturday June 29, 2019 @09:52AM (#20312568)
?? sorry what do you mean, I was happily reading multiple types of logs with multiple different format records for a Billing system using statically typed PL/1G in the 80's

Apart from both json and XML are a PITA to work with in the first place

Re:Most Unit Testing Is Waste (2014) [pdf] by ptx on Saturday June 29, 2019 @10:58AM (#20312942)
JSON is wonderfully simple to work with - in a dynamic language. Having to map it to a statically known schema, as you would in a statically typed language, loses that simplicity and can be, as you say, a PITA.
Re:Most Unit Testing Is Waste (2014) [pdf] by Gibbon1 on Saturday June 29, 2019 @04:31PM (#20314606)
I think that's a defect of JSON not statically typed languages.
Re:Most Unit Testing Is Waste (2014) [pdf] by raverbashing on Saturday June 29, 2019 @04:45PM (#20314669)
"defect of JSON" while it could be better, it has some type definitions and as I said, people are too deep in the static world to see outside of it