Name: Anonymous 2018-10-12 17:08
So, why are you not using dependent types yet? Do you like your programs randomly crashing?
although it's harder for injections as they usually happen on the boundaries of languagesYou could have a dependent type like
system : (s : string) -> doesNotContainUnescapedQuotes s = True -> IO ()
logic bugs only theoretically canBuffer overflows are also logic bugs.
can't be done in general case (because of halting problem).Nice meme
by exploiting OS-level stuffDependent types can't prevent bugs in other programs.