PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Google Javascript Bibliothek unter Kritik


Roi Danton
2009-11-19, 12:50:50
Ein JavaScript Programmierer hat sich kritisch gegenüber einer neuen JS-Bibliothek seitens Google ausgesprochen, da die Entwickler zu viele Dinge direkt von Java auf Javascript übertragen. Im Gegenzug hat er etwa jQuery gelobt.

Google Closure: How to not write Javascript (mit vielen Beispielen zu den Gründen) (http://www.sitepoint.com/blogs/2009/11/12/google-closure-how-not-to-write-javascript/)

Motivation für den Artikel wird unten erwähnt:
Google’s Responsibility to Code Quality

By this point I hope you’re convinced that Closure Library is not a shining example of the best JavaScript code the Web has to offer. If you’re looking for that, might I recommend more established players like jQuery (http://jquery.com/)?

But you might be thinking “So what? Google can release crappy code if it wants to—nobody’s forcing you to use it.” And if this were a personal project released by some googler on the side under his or her own name, I’d agree with you, but Google has endorsed Closure Library by stamping it with the Google brand.

The truth is, developers will switch to Closure because it bears the Google name, and that’s the real tragedy here. Like it or not, Google is a trusted name in the development community, and it has a responsibility to that community to do a little homework before deciding a library like Closure deserves public exposure.

DanMan
2009-11-19, 21:04:01
Interessant um zu lernen, wie man es nicht macht. Ich hab mich vor längerer Zeit auch mal in Dmitry Baranovskiys Raphaël Library umgesehen, und hab da noch so einiges gelernt. Ich würde mal sagen: der Mann weiß, wovon er spricht.

Allerdings kann es auch gut sein, dass Google erst mal was funktionierendes zur Tür raus haben wollte, und sie es noch in der nächsten Zeit optimieren wollten....

Coda
2009-11-19, 22:35:46
Closure ist auch schon ziemlich alt. Ich habe das Gefühl, dass erst in letzter Zeit JS wirklich verstanden wurde.

Allerdings muss man sagen, dass die JIT-JS-Engines die Probleme die dort angesprochen werden wohl eh wegoptimieren.

The_Invisible
2009-11-20, 09:35:33
Interessant um zu lernen, wie man es nicht macht. Ich hab mich vor längerer Zeit auch mal in Dmitry Baranovskiys Raphaël Library umgesehen, und hab da noch so einiges gelernt. Ich würde mal sagen: der Mann weiß, wovon er spricht.

Allerdings kann es auch gut sein, dass Google erst mal was funktionierendes zur Tür raus haben wollte, und sie es noch in der nächsten Zeit optimieren wollten....

glaube auch sowas in der art.

auf der einen seite eigenen browser, eigenes os und eigene programmiersprache raushauen und auf der anderen nicht mal gescheit javascript können? kommt mir sehr seltsam vor.

edit: oder wurden dafür ein paar praktikanten benutzt? :D

mfg