News for hackers. Stuff that matters.
Re:Software 2.0 by CuriouslyC on Tuesday February 21, 2023 @11:16AM (#34882817)
The fatal flaw in your sarcasm is that specs are declarative but those languages are imperative. Those languages also have more syntax than is strictly necessary, which limits the ability of domain experts to contribute to the spec without the assistance of a developer.
Re:Software 2.0 by kristiandupont on Tuesday February 21, 2023 @01:54PM (#34885207)
Would the point not stand if they had said ML or Prolog?
Re:Software 2.0 by CuriouslyC on Tuesday February 21, 2023 @02:06PM (#34885426)
There would still be the point of requiring knowledge of an arcane syntax that can take months to understand and years to master. It will almost always be more efficient and productive to specify programs in plain English then add additional specifications to clarify ambiguity when observed, rather than trying to write specs in a completely unambiguous language.
Re:Software 2.0 by quanticle on Wednesday February 22, 2023 @12:44AM (#34892086)

    then add additional specifications to clarify ambiguity when observed
That's such a clean, almost clinical way to describe, "After the software has caused several billion dollars in trading losses, bankrupting the entire company." (https://en.wikipedia.org/wiki/Knight_Capital_Group#2012_stoc...)
Re:Software 2.0 by CuriouslyC on Wednesday February 22, 2023 @08:05AM (#34894836)
Imagine if software with large inherent risk was developed using formal methods, and the massive remainder of software was developed using rapid development methods. It's almost like there are different tools, and they can be applied to different jobs to cause improved outcomes based on the overlap between the tool's properties and the job's properties. What a radical concept!
Re:Software 2.0 by quanticle on Wednesday February 22, 2023 @07:28PM (#34905143)

    Imagine if software with large inherent risk was developed using formal
    methods, and the massive remainder of software was developed using rapid
    development methods.
Imagine if we could tell the difference between use-cases with large inherent risk and the massive remainder of use-cases and avoid using software designed for low-risk situations in high-risk applications.
Re:Software 2.0 by jeltz on Tuesday February 21, 2023 @05:45PM (#34888784)
I have worked with systems written primarily in SQL, a declarative language, and I can't say a domain experts could have contributed anymore or less than when I have worked with systems written in Ruby or Java.