6 ms·
Wow I made the same thing that I put v1 up a couple days ago. https://github.com/tetranoir/presi https://github.com/tetranoir/presi A main difference is I tri
by sakagami0 7y ago
Wow I made the same thing that I put v1 up a couple days ago.
https://github.com/tetranoir/presi https://github.com/tetranoir/presi
A main difference is I tried to get rid of having a separate line to create the Type and I tried to get rid of having to learn a new libary's api as much as possible.
- eyelidlessness 7y agoThis looks interesting too, but the syntax fells really weird to me.
- sakagami0 7y agoA goal was you can treat it Exactly like an "Interface". I agree it looks totally nonsensical but I think of it as a text replacement.
- eyelidlessness 7y agoThe assignment to class properties reminds me an awful lot of stuff I've seen in Python, particularly in Django/REST Framework. But the class wrapping thing would just break my brain every time I tried to use it. Calling plain functions just feels a lot more natural to me.