Hacker News new | ask | show | jobs
by jyunderwood 3210 days ago
> If you work at Google: Angular

Doesn't Google actually prefer Polymer?

https://www.polymer-project.org/

1 comments

I don't think Google prefer either, YouTube was recently migrated to Polymer, They use Angular(Dart) from Adwords. almost all other projects use vanilla JavaScript(with closure compiler)
As far as i understand, Polymer (and Web Components, in general) permits to define custom HTML elements.

What kind of custom elements are in the (insanely unreadable) Youtube main page?

The Polymer philosophy appears to be more of "make everything a custom element", i.e. up to the entire app (e.g. "<youtube-app/>", "<comments-section video-id=''/>", "<related-videos video-id=''/>", etc.).
Did YouTube switch to Polymer yet? I think only the new design (https://www.youtube.com/new) uses it, and it's not yet switched on by default?
Google do staged rollouts, I got the new YouTube design last week
Google is actually using Angular extensively on their in-house tools.
Quite a bit of chrome is written in polymer https://cs.chromium.org/chromium/src/chrome/browser/resource...