Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Dependent types

Name: Anonymous 2018-10-12 17:08

So, why are you not using dependent types yet? Do you like your programs randomly crashing?

Name: Anonymous 2018-11-22 11:54

>>103
although it's harder for injections as they usually happen on the boundaries of languages
You could have a dependent type like system : (s : string) -> doesNotContainUnescapedQuotes s = True -> IO ()

logic bugs only theoretically can
Buffer overflows are also logic bugs.

can't be done in general case (because of halting problem).
Nice meme

by exploiting OS-level stuff
Dependent types can't prevent bugs in other programs.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List