I think I understand the method syntax but not the why of it (maybe because I don’t speak Lisp or Smalltalk!). I’m sure diving into this redefining methods business deserves a post of its own :)
Also the site looks great! Love the aesthetic.
Thanks! I'm trying to lean heavily into the Garden theme, but still express "playful hobby project".
Having a standalone method syntax makes it way easier to tinker with methods when you're figuring out some functionality. See screenshot example :)
Choosing a syntax for a new programming language is hard. You want to be similar enough to an established language to avoid scaring off users.
You still want to be sufficiently novel to be recognisable. Which languages do this well?
I've added basic sum types to my programming language project, and it simplifies a bunch of stuff. Bool and Unit no longer need to be built-in types!
I'm now working on wrapped data, so I can implement Option :)