For faster navigation, this Iframe is preloading the Wikiwand page for Tipizzazione dinamica.

Tipizzazione dinamica

Da Wikipedia, l'enciclopedia libera.

In informatica e programmazione, la tipizzazione dinamica è la politica di tipizzazione, ovvero di assegnazione di tipi alle variabili, in cui il controllo del tipo della variabile è effettuato a runtime piuttosto che in fase di compilazione.

Nei contesti a tipizzazione dinamica forte, i valori assegnati alle variabili hanno dei tipi ben definiti, mentre in contesti di tipizzazione dinamica debole, le variabili possono riferirsi a valori di qualsiasi tipo, che possono cambiare dinamicamente in seguito a manipolazioni esterne.

Il caso più comune è dato dai linguaggi a tipizzazione dinamica, in cui le variabili hanno tipi che possono cambiare durante l'esecuzione di un programma, di solito a causa di assegnamenti. Per la natura fortemente imprevedibile, i linguaggi a tipizzazione dinamica sono spesso anche interpretati, in quanto l'interprete costituisce un ambiente di esecuzione sicuro, in grado di assecondare tutti i cambiamenti di tipo delle variabili.

Esempi di linguaggi a tipizzazione dinamica sono APL, Erlang, Groovy, JavaScript, TypeScript, Lisp, Lua, MATLAB, GNU Octave, Perl[1], PHP, Prolog, Python, Ruby, Smalltalk e Tcl.

  1. ^ Unicamente per i tipi definiti dall'utente.

Voci correlate

[modifica | modifica wikitesto]
  Portale Informatica: accedi alle voci di Wikipedia che trattano di informatica
{{bottomLinkPreText}} {{bottomLinkText}}
Tipizzazione dinamica
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?