4 ms·
My first thought: an entirely new language for one domain? But then I started looking at the examples and how styles and an xml-like syntax are given first-cla
by pkulak 7y ago
My first thought: an entirely new language for one domain?
But then I started looking at the examples and how styles and an xml-like syntax are given first-class support and it makes sense. It really is a hard problem to shove into an existing language, evidenced but all the transpiling that goes on now. Thanks for sharing!
- hencq 7y agoAgreed. I browsed through the guide and at least at first glance it looks very well designed. Things like naming a node or a component (<Item as item>) that can then be used elsewhere look really clever. I'm curious what the actual code looks like for an example app like todomvc. Edit: coffee -> code
- dgb23 7y ago> I'm curious what the actual coffee looks like for an example app like todomvc. I've never seen the term 'coffee' used in this context. Is this a typo or some kind of slang/reference?
- xwowsersx 7y agoThat was a typo and he meant covfefe.
- dgb23 7y agoI appreciate the joke :) but I really didn't get the obvious at first (code => coffee autocomplete). I was distracted by the fact that this language transpiles to JS so coffee might be a reference or something.
- xwowsersx 7y agooh haha, I thought he was referring to coffeescript for some reason. code => coffee autocomplete makes much more sense
- projektfu 7y agoI'm guessing code and coffee are identical on a swiping keyboard.
- hencq 7y agoHaha, you got me. Clearly I could also do with some actual coffee.
- xwowsersx 7y agoBut really I think he's referring to coffeescript though I have no idea why.
- Drew_ 7y agoConsidering that this isn't JS... this is just another language that needs to be transpiled.
- Scarbutt 7y agoJust like JS/JSX ;)
- Izkata 7y agoJSX is a straight translation to JS functions/objects, this goes several steps further: The styling section is using imperative logic based on the component's current state.
- frank_nitti 7y agoRight. And the person they were responding to was evaluating Mint on the basis of "first class support" for declarative UIs in XML, where ostensibly Mint defeats React/Vue because they "require transpilation".
- pkulak 7y agoNo, I was just saying that the transpiling shows that it's a hard problem; not that Mint has none.
- Supermancho 7y ago> an entirely new language for one domain? UI implementation (especially for the web) is a very hard problem. We've been trying to get it right for decades. This is a problem domain in need of attention. The CURRENT frontend paradigm (React/Redux SPA) is using a mix of technologies, which might benefit from consolidation and streamlining.