Ivan Reese
Most of the time spent programming is fixing errors, and anything that helps reduce programmer error should be encouraged. What does it mean to multiply PI by "hello"?That doesn't fit my experience in the slightest. Most of my time spent programming is figuring out the design of my system. The most time-costly class of "error" would be uncertainty about what exactly I want to build, which manifests as building something experimentally, playing with it, realizing it's not quite what I want, repeat. For instance, types can't help me decide if I want to implement my graphics library using SVG or WebGL. Sure I make errors β we all do β but I discover almost all of them almost immediately, and they're trivial to fix. Something like PI multiplied by "hello" isn't nearly as nefarious as "I misunderstood the linear algebra and now I'm getting weird looking results when I convert a rotation into a skew+scale", which I don't believe a typical type system can help with.
Justin Blank
06/21/2019, 6:08 PMIvan Reese
gman
06/21/2019, 6:16 PMDrewverlee
06/21/2019, 6:23 PMAlan Johnson
06/21/2019, 6:42 PMJustin Blank
06/21/2019, 6:49 PMAlan Johnson
06/21/2019, 7:12 PMAlan Johnson
06/21/2019, 7:13 PMAlan Johnson
06/21/2019, 7:13 PMtbabb
06/21/2019, 7:55 PMAlan Johnson
06/21/2019, 8:40 PM