4 Comments
Jan 27, 2021Liked by Jeff Schwab

hey Jeff! long time! I've been working on some large Perl code bases for a long time now. I have a love/hate relationship with Perl and other Duck-Typed languages. I have seen many bugs over the years that a statically typed compiled language would have prevented outright that I am ready to move back to a compiled/static language. We have officially said "no more Perl" and adopted python to better allow us to find developers! However, for me, Perl->Python is a lateral move. I am hoping to find a way to move to C++ for my next big project.

Sorry that was a bit off topic. I wanted to say that Perl6/Raku seems to have taken things to a whole new level with smart match and other fuzzy features that try to "do the right thing".

Expand full comment
Jan 16, 2021Liked by Jeff Schwab

The last time I thought about this problem, I had an interesting idea. Start at "compile error", but allow the author to write an explicit override for `+(string, int)` that defines the alternate behavior that is desired, so that if you REALLY want it that way, it's easy for someone else to read what it's doing.

Expand full comment