Live data from Hacker News

FOAM: New JavaScript Framework by Google Engineers

github.com

1–10 of 115 posts

Re: FOAM: New JavaScript Framework by Google Engineers

#3
One thing you notice right off the bat: Its very slow. It takes about 2s on my machine to load the TodoMVC example. Thats about as long as it takes to load my GMail inbox. Thats pretty horrible for whats supposed to be the "Hello World" of JS frameworks. I didnt dig in what actually takes so long, but it seems like it has still some way to go.

I find it interesting that after Angular this would the second (3rd if you count GWT) JS framework released by Google with pretty bad performance characteristics (if it actually is made be Google).

Re: FOAM: New JavaScript Framework by Google Engineers

#4
A first glance of the docs I see the components aspire to a declarative style (being defined entirely in JSON). I'm wondering though, why not use composition[1] instead of inheritance? I need to take a better look to see how view composition would work in FOAM.. But I can tell from experience with Backbone, that using composition instead of inheritance improves code structure and increases maintainability. If composition was a first-class construct (like they made extendsModel), it would get a lot of issues out of the way.

[1] http://en.wikipedia.org/wiki/Composition_over_inheritance

Re: FOAM: New JavaScript Framework by Google Engineers

#5
Oh boy, yet another JavaScript framework. Colored me unimpressed; angular, backbone, ember, angular 2.0, react, etc. I feel like they're just reinventing the same wheel with a different spin. I wish people would actually spend their time creating a really revolutionary "framework" instead, better yet a programming environment, which would redefine how we write web programs.

I'm envisioning a way to create software, where while having a conversation with another person, we could collaboratively draw some shapes on the screen, connect them, then my program comes to life, evolves, scales up, scales down, etc.

I believe programming should not be an endeavor accessible only to those adept at manipulating text files. Telling computers what to do should be for everyone.

Re: FOAM: New JavaScript Framework by Google Engineers

#6

Oh boy, yet another JavaScript framework. Colored me unimpressed; angular, backbone, ember, angular 2.0, react, etc. I feel like they're just reinventing the same wheel with a different spin. I wish people would actually spend their time creating a really revolutionary "framework" instead, better yet a programming environment, which would redefine how we write web programs. I'm envisioning a way to create software, w…

React is pretty revolutionary. It turns rendering code into a simple pure function, which is a necessary step for where you want to end up.

Re: FOAM: New JavaScript Framework by Google Engineers

#7

Oh boy, yet another JavaScript framework. Colored me unimpressed; angular, backbone, ember, angular 2.0, react, etc. I feel like they're just reinventing the same wheel with a different spin. I wish people would actually spend their time creating a really revolutionary "framework" instead, better yet a programming environment, which would redefine how we write web programs. I'm envisioning a way to create software, w…

To add to that, it's not really even that impressive - no ES6, lots of technologies that are not in the current "hype" and so on.

That said - having frameworks emerge from the community rather than dictated is a good thing, it helps create a healthy ecosystem. Whenever a new "fad" takes over we actually _do_ learn something.

Re: FOAM: New JavaScript Framework by Google Engineers

#9

Oh boy, yet another JavaScript framework. Colored me unimpressed; angular, backbone, ember, angular 2.0, react, etc. I feel like they're just reinventing the same wheel with a different spin. I wish people would actually spend their time creating a really revolutionary "framework" instead, better yet a programming environment, which would redefine how we write web programs. I'm envisioning a way to create software, w…

Have you tried Scratch (https://scratch.mit.edu/)? It sounds similar to what you're describing. If you have any ideas on a better way to do this, maybe you should build it - there's a lot of interest in "accessible programming".
Post reply on HN