4 ms·
"This is approximately the same reason as why I start out writing most of my programs by creating a bunch of types, and why I find dynamic programming languages
by antidoh 14y ago
"This is approximately the same reason as why I start out writing most of my programs by creating a bunch of types, and why I find dynamic programming languages uncomfortable to use."
Classes. There are your types. Python has them. Ruby has them. Javascript has them. . . .
- barrkel 14y agoIf you can't see see the qualitative difference between algebraic data types and Javascript classes, there's no point discussing things.
- dasil003 14y agoJavascript only has Objects not Classes.
- antidoh 14y agoThanks, I stand adjusted. And of course you can use prototypes (objects) for the same intent as classes, which was the source of my error.