| Autor |
Mensagem |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 09/12/2009 16:48:59
|
Rafael Afonso
Virtual Machine Man
Membro desde: 05/12/2002 16:03:43
Mensagens: 719
Localização: São Paulo/SP
Offline
|
JavaHispano wrote:
Aprobada la quinta edición de ECMAScript, una nueva especificación para JavaScript
La semana pasada fue aprobada la quinta edición de ECMAScript (vejam texto abaixo) (ECMA-262 5th edition), una nueva especificación para JavaScript. Se trata de la primera revisión mayor de la especificación del lenguaje JavaScript desde 1999. De las 21 partes con derecho a voto, sólo IBM votó en contra por la falta de soporte para operaciones con decimales, e Intel se abstuvo. Ahora, el próximo paso en la estandarización de la próxima versión de este lenguaje es enviar la especificación ha ISO, para que también sea aprobada por este organismo.
Con esto se rompe finalmente el atasco de la cuarta especificación de JavaScript, que debía haberse terminado en 2008, y que nunca llegó a convertirse en un estándar por falta de acuerdo entre las distintas partes.
Las dos novedades que más atrae mi atención en nueva especificación son el soporte para JSON y la posibilidad de "congelar" un objeto, impidiendo que sea modificado, mediante Object.seal() y Object.freeze(). Esta última característica sin duda será un pilar para reforzar la seguridad del lenguaje.
Aquí tenéis el PDF con la nueva especificación.
Fonte: http://www.javahispano.org/contenidos/es/aprobada_la_quinta_edicion_de_ecmascript__una_nueva_especificacion_para_javascript/
Waldemar Horwat wrote:
ES5 is an ECMA standard
Congratulations!
ES5 was officially approved as an ECMA standard at the ECMA General Assembly held at Google yesterday. The vote, with 2/3 required to pass, was 19 yes and 2 no, with IBM voting no due to the lack of decimal and Intel voting no because they didn't have enough time to study the intellectual property implications of the standard.
Fast track submission to ISO was also approved by the ECMA General Assembly.
BSD licensing of ECMA copyright-owned code like the test suite also received quite a bit of debate at the General Assembly. The GA agreed to a postal ballot after the next Coordinating Committee meeting, assuming a proposal is made to them in time and they like it.
Waldemar
Fonte: https://mail.mozilla.org/pipermail/es-discuss/2009-December/010215.html
Resta saber quando os browsers o implementarão. E finalmente tomaram vergonha na cara e criaram um método trim() para String.
|
Rafael Ubiratam Clemente Afonso
---------------------------------------
GitHub
ScalaFX
LinkedIn |
|
|
 |
|
|
![[Post New]](/templates/default/images/icon_minipost_new.gif) 09/12/2009 16:59:50
|
Rafael Afonso
Virtual Machine Man
Membro desde: 05/12/2002 16:03:43
Mensagens: 719
Localização: São Paulo/SP
Offline
|
Mais uma nota:
Mitch Pronschinske wrote:
New Standard for JavaScript After Years of Disagreement
After ten years with no major revision, the European Computer Manufacturers Association (ECMA) general assembly recently approved the ECMA-262 5th edition (ES5) spec as the ECMAScript standard. JavaScript, JScript, and ActionScript are the well-known dialects of ECMAScript.
The spec passed by a vote of 19 to 2, receiving less criticism than the unstandardized 4th edition. Only IBM and Intel voted against the proposal. IBM voted against the spec because of the lack of decimal and Intel didn't have enough time to look over the intellectual property implications. The next step for the ECMA will be to submit the ES5 spec to the International Organization for Standardization (ISO).
The new standard now includes JavaScript Object Notation (JSON) as a component of ECMAScript. Objects in the new ECMAScript can be shielded from manipulation with Object.seal() and Object.freeze(). The interpreter will now enforce tougher rules in "use strict" mode. Undeclared variables, for example, will not be executed.
Progress for ECMAScript has been hindered by disagreements and controversy over the last few years. The fourth edition of ECMA-262, originally targeted for completion by October 2008, would have been the first major update to ECMAScript since the third edition became standard in 1999. The fourth edition was derailed when a debate between Chris Wilson, Microsoft's platform architect for Internet Explorer, and Brendan Eich, the creator of JavaScript who is now the CTO for Mozilla, surfaced on multiple blogs. Wilson said that the backwards incompatibility of EC4 would result in "breaking the Web," while Eich gave examples of why that wouldn't happen.
As a result, Microsoft, Yahoo, and other opponents of EC4 formed their own camp to design a smaller update for ECMAScript 3 initially called ECMAScript 3.1. The two camps tried to develop their specs in parallel but differing philosophies kept both specs from being standardized for over a year. The two teams finally reached a compromise in August 2008: the ECMA Technical Committee 39 (TC39) would focus on ECMAScript 3.1, renamed edition 5. The recent approval of the EC5 spec is the fruition of many years of obstacles and compromise.
The fourth edition is not dead yet though. In 2008, the project was renamed ECMAScript Harmony and will be more modest than the previous EC4 proposal. The spec will include syntactic extensions but won't include several packages, namespaces, and early binding from ECMAScript 4. Harmony might be renamed ECMAScript 6th edition now that the 5th edition is the most recent standard.
Fonte: http://css.dzone.com/news/new-standard-javascript-after
Quando diz "Undeclared variables, for example, will not be executed." significa então que todas as variáveis deverão ser declaradas com "var"? Devo ler melhor a específicação.
|
Rafael Ubiratam Clemente Afonso
---------------------------------------
GitHub
ScalaFX
LinkedIn |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10/12/2009 08:53:37
|
chun
GUJ Master
Membro desde: 08/11/2004 15:43:41
Mensagens: 1699
Localização: Curitiba/PR
Offline
|
Será que agora teremos "um javascript só" ? Ou teremos a versão 5.IE , 5.FIREFOX , 5.CHROME ?
|
Ps: Este post é uma opinião pessoal e NÃO DEVE SER ENCARADO COMO VERDADE ABSOLUTA... então... caso você não concorde... não precisa cortar os pulsos...
------
Controverso Eu ? http://www.go-java.com/blog
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10/12/2009 16:30:17
|
FrancoC
JavaTeenager
![[Avatar]](/images/avatar/8e6174e864adbb423d4ea4f3de745402.jpg)
Membro desde: 15/10/2009 13:11:25
Mensagens: 193
Offline
|
Acho dificil.. da Microsoft nao espero nada, nenhum esforco pelo bem coletivo... hehehe
|
Get the facts first. You can distort them later. |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10/12/2009 16:52:34
|
techsolaris
What is classpath?
![[Avatar]](/images/avatar/1f490b64a7d1716e9952d627b9baa45e.jpg)
Membro desde: 19/05/2006 20:39:21
Mensagens: 8
Localização: São Paulo -SP
Offline
|
Espero que finalmente consigam padronizar, pois é duro trabalhar com JS... E olha que não só eu que acho..rs
Abraço
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10/12/2009 22:14:13
|
rbcunha
Debugger
![[Avatar]](/images/avatar/e6ba70fc093b4ce912d769ede1ceeba8.jpg)
Membro desde: 07/07/2004 15:04:58
Mensagens: 50
Offline
|
Agora a Microsoft irá criar JavaScript 5 EX Tabajara e adicionar no IE 9....
|
|
|
 |
|
|