News for hackers. Stuff that matters.
Re:Dynamic type systems are not inherently more open by erik_seaberg on Sunday January 19, 2020 @03:54PM (#22093994)
> the boundary between programs is dynamically typed

Many interfaces have declared, enforced static types. I don't have to write any code to handle

  SELECT birthdate FROM employees WHERE id = ?
returning "fish" because the database would never let it happen.
Re:Dynamic type systems are not inherently more open by Izkata on Sunday January 19, 2020 @09:13PM (#22095697)
So you say, but sqlite has no problem with you storing "fish" in an integer column.
Re:Dynamic type systems are not inherently more open by sethev on Sunday January 19, 2020 @04:18PM (#22094156)
You know that but your compiler doesn't (generally speaking).
Re:Dynamic type systems are not inherently more open by thu2111 on Monday January 20, 2020 @08:24AM (#22098599)
Hence ORMs. It's possible to do much better than ORMs though. The object/relational type system mismatch is a property of how technology evolved, it's not fundamental.