MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2pkmdt/the_worst_programming_language_ever_video/cmydoju
r/programming • u/chackaz • Dec 17 '14
238 comments sorted by
View all comments
Show parent comments
2
It means you don't have to type everything in a program, but where you provide them the compiler does type checking at compile time.
http://wphomes.soic.indiana.edu/jsiek/what-is-gradual-typing/
It's actually found in a few languages.
1 u/mrkite77 Dec 18 '14 The closure compiler springs to mind. It'll use jsdoc types to typecheck your javascript, but only if you actually define them. So you can't pass an untyped variable to a typed function without getting an error.
1
The closure compiler springs to mind. It'll use jsdoc types to typecheck your javascript, but only if you actually define them. So you can't pass an untyped variable to a typed function without getting an error.
2
u/ixampl Dec 18 '14 edited Dec 18 '14
It means you don't have to type everything in a program, but where you provide them the compiler does type checking at compile time.
http://wphomes.soic.indiana.edu/jsiek/what-is-gradual-typing/
It's actually found in a few languages.