News for hackers. Stuff that matters.
Re:Creating a Lightsaber with Polymer by krebby on Thursday December 17, 2015 @12:49AM (#10749819)
Fun app, but it's like they chose all the buzzwordy tech from two years ago that frontend devs no longer use. Bower? Jade? Gulp? CoffeeScript? Polymer?

And for what? The mobile page is just a single button with an accelerometer listener and websockets / webrtc glue, it shouldn't need any of those. The desktop page is mostly Three.js for loading and rendering the textures, and also the communication with the phone. What advantage does Polymer have over just writing normal ThreeJS and some vanilla js?

Re:Creating a Lightsaber with Polymer by th0br0 on Thursday December 17, 2015 @03:53AM (#10750311)
What do devs use instead then? React/(ES6|TS)/jspm/System.js?
Re:Creating a Lightsaber with Polymer by krebby on Thursday December 17, 2015 @09:14AM (#10751513)
Not necessarily. It's just funny that they're bragging about choosing these particular technologies when they've all fallen out of favor in the last year and a half or so. Odd to see in a tech demo writeup like this.

My point (downvotes aside) is that Polymer (or any UI library -- react, angular, whatever) is overkill for this type of application. Without digging too deep into their source, it seems like it could've been done easier and cleaner in vanilla JS and ThreeJS.