Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why did they create fbjs in the first place? It gave js development in fbml an unnecessary learning curve. Other companies had already mastered the js sandbox by then so there was no reason for these js wrappers.


The only other example of a JS sandbox that works that I know of is Caja and Caja hadn't been publicly announced or released when FBJS originally launched.

In general, its pretty useful to be able to sandbox JS on a page so you can allow 3rd parties to do scripting on your page without putting their stuff inside iframes.


A decent helping of NIH syndrome probably had something to do with it. Facebook engineers are pretty decent, and they like doing things in-house if at all possible.


because Facebook is stupid and is building a walled garden?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: