Re:Where are we going from here? Software engineering needs ...
by tsimionescu on Sunday July 04, 2021 @02:54AM
(#27727763)
I'm not sure type safety is the right key here. Rather, better defaults in web and SQL frameworks, even in a dynamic language, would get you most of the way there. You can even use dynamic types to mandate that input is sanitized - a crash is much louder than SQL injection or XSS.
[ Parent
| on HN ]
Re:Where are we going from here? Software engineering needs ...
by Akronymus on Sunday July 04, 2021 @10:40AM
(#27729949)
Good defaults are one of the most important, yet overlooked parts of programming languages IMO.
For example, no nullability or mutability by default is one of the main reasons why I like f#.
Re:Where are we going from here? Software engineering needs ...
by SkyMarshal on Sunday July 04, 2021 @11:43AM
(#27730504)
>Rather, better defaults in web and SQL frameworks, even in a dynamic language, would get you most of the way there.
We’ve had 20+ years of building websites, and either we have sane defaults by now but they’re not enough, or we still don’t have sane defaults in our web frameworks.
Either way, that this problem persists given the damage it’s enabling, suggests we haven’t addressed the root cause yet. Web development is still a tarpit, which strong type systems can mitigate in unique ways.