A feature I'm planning for my "Alonzo" visual programming language: Code inferen...

@alcinnz@floss.social

A feature I'm planning for my "Alonzo" visual programming language: Code inference!

Incomplete programs will be filled in with the simplest code whose type signature fits. Whilst using as many local vars as reasonable.

This feature entrenched itself in my design because:

1. It allows more programs to run, even if they're incomplete. So fewer headaches!
2. Haskell-like "type classes" can be a design pattern built on this.
3. It ethically recreates some of the appeal of vibe coding.