¿Qué está mal?

Aviso: Antes de informar sobre un error con la descarga, por favor, prueba el enlace directo: The Good, the Bad, and the Ugly: An Empirical Study of Implicit Type Conversions in Javascript

Cargando...

Debes iniciar sesión para hacer esto.

The Good, the Bad, and the Ugly: An Empirical Study of Implicit Type Conversions in Javascript

The Good, the Bad, and the Ugly: An Empirical Study of Implicit Type Conversions in Javascript

,

The Good, the Bad, and the Ugly: An Empirical Study of Implicit Type Conversions in Javascript

,

Puntuación: 8.00 | 1 voto
| Enviando voto
| ¡Votado!
|

Detalles del libro:

pos
Global
pos
Categoría
Año:2015
Editor:ECOOP
Páginas:23 páginas
Idioma:inglés
Desde:16/10/2015
Tamaño:533 KB
Licencia:Pendiente de revisión

Contenido:

Most popular programming languages support situations where a value of one type is converted into a value of another type without any explicit cast. Such implicit type conversions, or type coercions, are a highly controversial language feature. Proponents argue that type coercions enable writing concise code. Opponents argue that type coercions are error-prone and that they reduce the understandability of programs. This paper studies the use of type coercions in JavaScript, a language notorious for its widespread use of coercions. We dynamically analyze hundreds of programs, including real-world web applications and popular benchmark programs.

We find that coercions are widely used (in 80.42% of all function executions) and that most coercions are likely to be harmless (98.85%). Furthermore, we identify a set of rarely occurring and potentially harmful coercions that safer subsets of JavaScript or future language designs may want to disallow. Our results suggest that type coercions are significantly less evil than commonly assumed and that analyses targeted at real-world JavaScript programs must consider coercions.

Categorías:

Etiquetas:

Cargando comentarios...

Escaneando listas...

El libro en números

Posición global

en catálogo desde

16/10/2015

puntuación

4

votos

1

'LIKES' sociales

Nothing yet...

Visitas

Descargas

Esto puede tardar un momento

Interés

Segmentación por países

Esto puede tardar un momento

Páginas de entrada

Segmentación por sitios web

evolución

Esto puede tardar un momento

Cargando...