Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 564 days ago | link | parent

As it happens, keyword args were one of my earliest bunny trails, and I obsessed over them for probably five years.

Here's my earliest post about keyword args: (Follow-up much later:

That got me working on a fork of Arc with keyword args support: Original discussion about it:

That eventually spiraled out into a whole language with easy keyword args at its core: Milestones along the way:;;

Supporting keyword arguments also led me to param aliases: Then to Haskell's as-params: Then to multi-word functions, kinda inspired by Objective-C's keyword arguments:

Finally -- 3.25 years after I started Wart -- I found a foundational bug in it: I eventually fixed it, but the fact that it lay unnoticed for so long killed my motivation to continue supporting keyword arguments. At some point along the way it's become a higher priority to make code testable, and if you have thorough tests then how well some tiny slice of code reads seems a lot lower priority given how complex I found it to create a 'closure' of mechanisms that work seamlessly together and don't have any special-cases: So these days I try to ignore keyword args lest my madness return :)