Semicolon & Sons
X
About
Contact & Support
Code Diary
Episodes
Blog
Subscribe
Sign in
Semicolon & Sons
About
Screencasts
Code Diary
Blog
Contact & Support
Subscribe
Sign In
Types Code Diary Entries
This is part of the Semicolon&Sons
Code Diary
- consisting of lessons learned on the job.
Calling max or min on lists of type t that are empty gives another type
Do not trust the on screen representations of types since they may be more complex
Expect errors mixing numbers and strings
I prefix is used for interfaces
Static vs dynamic typing
Strong vs weak typing
Watch out for converting nil and empty string to numbers