boltlang / Bolt

A programming language for rapid application development
35 stars 1 forks source link

Explore data traits on record declarations #1

Closed samvv closed 3 years ago

samvv commented 4 years ago

This would allow us to extend record declarations from another module while the program is compiling.

There are, of course, a lot of good reasons to avoid this. The primary motivation against this is that it break the philosophy of composition over inheritance. On the other hand, there are quite a few applications where this would be useful, primarily for performance reasons.

samvv commented 3 years ago

Not going to fix this in this repository.