Moon
Languages and libraries
ui compiler
SHOW HN2018
How HN took it
5 positive, 8 neutral or asking, 0 mixed, 5 critical, out of 18 comments about the project. Thread score -0.07.
Design: 4 for, 2 againstPerformance: 0 for, 1 againstExecution: 0 for, 1 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Small, simple concepts that are easy to try
From 1 comment
Very simple concepts. So easy to try. Saw the code. There are almost no type checks or null/undefined checks anywhere. Is this library used in any production application?
vijaybritto on HN
Separation of presentation and data by default
From 1 comment
I do like that you have presentation vs data separated by default. Something I wish React had. ;)
dandigangi on HN
Objections
Invents a new template language to learn instead of using HTML and JavaScript
From 2 comments
This looks like it takes Vue.js's approach of creating a brand new language that you have to learn (in this case MVL which is similar to HTML). It's definitely a preference for a…
sbjs on HNYeah, this is a big reason why the Polymer project is moving away from a bespoke expression syntax and control-flow in HTML, ala Angular and Vue, to using just JavaScript with…
spankalee on HN
Lacks type and null checks; questions about production readiness
From 1 comment
Very simple concepts. So easy to try. Saw the code. There are almost no type checks or null/undefined checks anywhere. Is this library used in any production application?
vijaybritto on HN
Non-keyed implementation limits it
From 1 comment
Is this still a non-keyed implementation? Will you ever be adding mix-ins? Both of these kept me from using this library prior to the current re-write.
oiOoOioiOoOio on HN
Requests
Keyed implementation
From 1 comment
For now, it is non-keyed. As I mentioned in some other comments I just wanted to get a beta out as I've been rewriting Moon for about a year and it's finally gotten to a…
kbr on HN
Mix-ins
From 1 comment
Is this still a non-keyed implementation? Will you ever be adding mix-ins? Both of these kept me from using this library prior to the current re-write.
oiOoOioiOoOio on HN
Working examples page instead of TODO
From 1 comment
Maybe it's just me but if you're submitting something to Show HN then it's helpful if your "Examples" navbar link doesn't send me to a `//TODO`!
alliecat on HN
Questions
How does it compare to Svelte
From 1 comment
How does this compare to Svelte, which also compiles itself away and at first glance, looks quite similar? What was your motivation for making this? (other than making something…
skrebbel on HN
How variables are inserted safely in templates
From 1 comment
How are variables in "<p>{text}</p>" replaced? Is the security of it just an implementation detail left to the programmer who use it? Safe way would be finding the P and then…
dvh on HN
Alternatives named
Vue.js
From 1 comment
This looks like it takes Vue.js's approach of creating a brand new language that you have to learn (in this case MVL which is similar to HTML). It's definitely a preference for a…
sbjs on HN
React
From 1 comment
This looks like it takes Vue.js's approach of creating a brand new language that you have to learn (in this case MVL which is similar to HTML). It's definitely a preference for a…
sbjs on HN
Svelte
From 1 comment
How does this compare to Svelte, which also compiles itself away and at first glance, looks quite similar? What was your motivation for making this? (other than making something…
skrebbel on HN
lit-html
From 1 comment
Yeah, this is a big reason why the Polymer project is moving away from a bespoke expression syntax and control-flow in HTML, ala Angular and Vue, to using just JavaScript with…
spankalee on HN
Marko
From 1 comment
I continue to advocate MarkoJS as "the best" HTML templating language. https://markojs.com It is the best mix of expressiveness, ease, and clarity I've found.
ramses0 on HN
Angular
From 1 comment
I believe Angular has a similar mechanism of compiling templates to code that corresponds directly to the template much like this, and they're now backing away from it. The…
evmar on HN