News for hackers. Stuff that matters.
Re:Heuristics for Effective Software Development: A continuo... by IshKebab on Monday July 26, 2021 @02:49AM (#27956445)
Very woolly. I was expecting more concrete things like

* Use static types

* Use CI and version control

* Use schema-based data storage

* Prefer function calls to events

* Use formal verification if possible

etc.

Re:Heuristics for Effective Software Development: A continuo... by axelroze on Monday July 26, 2021 @03:35AM (#27956713)
> * Use schema-based data storage

Great idea until it isn't. The article is full of bullshit but one thing is very true. We can't predict the future, especially so when we deal with humans and society where stuff changes fast. Strict schemas are more pain than gain here.

> * Use formal verification if possible

Wonder when F* and the like get mainstream so that "if possible" becomes "almost always".

Re:Heuristics for Effective Software Development: A continuo... by yourenotsmart on Monday July 26, 2021 @08:47AM (#27958713)
Strict schemas vs. dynamic data is a very odd argument. It's like arguing whether we should breathe in or breathe out.

A healthy practice combines both depending on the nature of the task.

Re:Heuristics for Effective Software Development: A continuo... by IshKebab on Monday July 26, 2021 @05:14AM (#27957326)
Schemas don't mean that formats can't evolve.
Re:Heuristics for Effective Software Development: A continuo... by balfirevic on Monday July 26, 2021 @06:20AM (#27957721)
Schemas make formats easier to evolve.
Re:Heuristics for Effective Software Development: A continuo... by Ygg2 on Monday July 26, 2021 @02:58AM (#27956492)
Interesting. Why function calls over events? And is it always applicable?
Re:Heuristics for Effective Software Development: A continuo... by adwn on Monday July 26, 2021 @04:40AM (#27957125)
I suspect because it makes both data and control flow more explicit and traceable.

> And is it always applicable?

No heuristic is always applicable.

Re:Heuristics for Effective Software Development: A continuo... by naavis on Monday July 26, 2021 @07:46AM (#27958263)
> No heuristic is always applicable.

Exactly. That's why it is called a heuristic and not a rule. :)

Re:Heuristics for Effective Software Development: A continuo... by IshKebab on Monday July 26, 2021 @05:13AM (#27957318)
Not always applicable but it makes debugging far easier, reduces the chance of events being lost and makes it easier and safer to understand and modify code.
Re:Heuristics for Effective Software Development: A continuo... by yourenotsmart on Monday July 26, 2021 @08:45AM (#27958695)
Interesting that we can sum up all those as "rely more on static analysis" :)
Re:Heuristics for Effective Software Development: A continuo... by vaylian on Monday July 26, 2021 @05:03AM (#27957248)
That's the technical side of things. But there is also a human side of software development and this is even more important to get right than the technical side.