4 ms·
With Mint (https://mint-lang.com/ https://mint-lang.com/) I'm trying to move away from frameworks in a language to the language being the framework — having abs
by gdotdesign 1y ago
With Mint (https://mint-lang.com/ https://mint-lang.com/) I'm trying to move away from frameworks in a language to the language being the framework — having abstractions for things which are done by packages and frameworks like components, localization, routing, etc... done in the language itself.
This means that in theory the backend/runtime can be replaced (and was replaced ones from React to Preact (0.7.0 -> 0.8.0) then to use hooks and signals instead of class components (0.19.0 -> 0.20.0), and the code will remain the same.
This has one drawback which deters framework creators from choosing the language since there is no reason to innovate on something that is already "done", which leads to fewer people using it in general and hinders adoption, but I'm still optimistic.
- theturtle32 1y agoThe Mint website is quite lovely! Props for making something so nice and pleasant and clean and easily navigable and informative.
- gdotdesign 1y agoThank you! And it's written in Mint :D
- sabellito 1y agoI remember seeing Mint quite a few years ago. I love the idea, I really like the language design, but I agree 100% with your take on the drawback. It's hard to sell that to teams. What's surprising to me is how many alternatives exist in this space. Between elm, imba, svelte, and mint, and probably more that I don't know about, I wonder how many devs in the world are shipping to prod using them. edit: have you thought about including Form Validation to the core lib?
- gdotdesign 1y ago> have you thought about including Form Validation to the core lib? There is a module for that in the standard library (https://mint-lang.com/api/Validation https://mint-lang.com/api/Validation). Moving the functionality into the language level is intriguing.
- sabellito 1y agoI meant to say more than validation, something like this feature set: https://www.react-hook-form.com https://www.react-hook-form.com React Hook Form is beastly.