[dead]
Re:Code is Engineering; Types are Science
by treeman79 on Monday April 06, 2020 @08:04AM
(#22792947)
Seen type systems cripple a team before. Less stupid compiler errors. Far more logic bugs.
Typescript specifically. But web pages are a different mindset than most domains.
Re:Code is Engineering; Types are Science
by jonnypotty on Monday April 06, 2020 @08:20AM
(#22793048)
How do you see the mindset being different?
However, the point of the article was different - the article was claiming that when you are writing the actual code for your program, you are normally using engineering-style reasoning (abduction), whereas when you are defining the hierarchy of types for your system, you are mainly applying scientific-style reasoning (induction).
Personally, I think that the article is a gross over-simplification of every single term - of deduction, abduction, and induction; of maths, science, and engineering; and of what programmers actually do. It is in fact so over-simplified that I don't see any valuable insight into the article at all. It almlst reads like a description of programming from a TV show that is trying to sound brainy.