In computer science and computer programming, the term strong typing is used to describe those situations where programming languages specify one or more restrictions on how operations involving values having different data types can be intermixed. Its antonym is weak typing. However, these terms have been given such a wide variety of meanings over the short history of computing that it is often difficult to know, out of context, what an individual author means when using them.

PropertyValue
dbpprop:abstract
  • In computer science and computer programming, the term strong typing is used to describe those situations where programming languages specify one or more restrictions on how operations involving values having different data types can be intermixed. Its antonym is weak typing. However, these terms have been given such a wide variety of meanings over the short history of computing that it is often difficult to know, out of context, what an individual author means when using them.
  • Starke Typisierung (engl. strong typing, daher oft auch strenge Typisierung) bezeichnet ein Schema der Typisierung von Programmiersprachen. Bei der starken Typisierung bleibt eine einmal durchgeführte Bindung zwischen Variable und Datentyp bestehen, es wird auch (möglichst) keine implizite Typkonvertierung vorgenommen. Das Konzept der starken Typisierung ist nicht eindeutig definiert. In der Literatur finden sich diverse Regeln, die sich teilweise widersprechen. Versucht man alle bisher in der Literatur aufgestellten Regeln für starke Typisierung auf bekannte Programmiersprachen anzuwenden, hält keine Sprache dieser Überprüfung stand: Eine Sprache ist stark typisiert, wenn Datentypen an Variablennamen anstatt an diskrete Werte geknüpft sind - die passende Terminologie dafür wäre statische Typisierung (static typing) im Gegensatz zur dynamischen Typisierung (dynamic typing); sie Typüberprüfungen zur Compile-Zeit enthält; automatische oder implizite Typkonvertierungen verboten sind; Typkonvertierungen explizit durchgeführt werden müssen; die Sprache keine Mechanismen besitzt, um das Typ-System zu umgehen, etwa type casts in C; es ein komplexes, fein abgestuftes System an Typen mit Sub-Typen gibt; der Datentyp eines Objektes fix ist und sich während der gesamten Lebensdauer des Objektes nicht verändern kann (auch diese Eigenschaft wird oftmals statische Typisierung genannt); das Typ-System das Laufzeitverhalten eines Programmes garantieren kann.
  • Un lenguaje de programación es fuertemente tipado si no se permiten violaciones de los tipos de datos, es decir, dado una variable de un tipo concreto, no se puede usar como si fuera una variable de otro tipo distinto a menos que se haga una conversión. No hay una única definición de este término. Un lenguaje que no es fuertemente tipado se dice que no está tipado. La mayoría de los lenguajes imperativos son fuertemente tipados mientras que los lenguajes declarativos no suelen estar tipados.
  • Vahva tyypitys on ohjelmointikielissä käytettävä ominaisuus, joka määrittelee, että jokaisella muuttujalla on tyyppi ja muuttujat voivat saada ainoastaan tyyppinsä mukaisia arvoja. Ominaisuus on käytössä useissa ohjelmointikielissä, mutta ei kaikissa. Vahvan tyypityksen ansiosta ohjelmointikielen kääntäjä huomaa jotkin ohjelmointivirheet automaattisesti.
  • En informatique, un langage de programmation est dit fortement typé lorsqu'il garantit que les types de données employés décrivent correctement les données manipulées. Par opposition, un langage sans typage fort est dit faiblement typé. Depuis son invention, le terme de typage fort a été employé avec de nombreux sens contradictoires, ce qui lui a enlevé presque toute signification. La liste qui suit rassemble quelques affirmations possibles sur le typage fort, avec des exemples de langages fortement typés et respectant le critère et des contre-exemples de langages tout aussi fortement typés mais ne respectant pas le critère.
  • A számítógéptudományban és a programozáselméletben erősen típusos (strong typing) kifejezést olyan esetekben használják, ahol a programozási nyelvek egy vagy több megkötést tesznek arra vonatkozóan, hogy a különböző adattípusú értékek hogyan keverhetőek egymással. Ellentéte a gyengén típusos. Ezeket a kifejezéseket azonban a számítógép rövid története során oly sok értelemben használták már, hogy gyakran nem könnyű eldönteni a szövegkörnyezet alapján, hogy az egyes szerzők mit is értenek alatta tulajdonképpen.
  • In informatica, e in particolare in programmazione, l'espressione tipizzazione forte (strong typing) può essere usata per caratterizzare il tipo di regole che un determinato linguaggio di programmazione impone, a livello sintattico o semantico, circa la tipizzazione dei dati e all'uso dei dati in relazione al loro tipo. L'opposto della tipizzazione forte è la tipizzazione debole. In un linguaggio fortemente tipizzato, il programmatore è tenuto a specificare il tipo di ogni elemento sintattico che durante l'esecuzione denota un valore (per esempio un valore costante, una variabile o una espressione), e il linguaggio garantisce che tale valore sia utilizzato in modo coerente con il tipo specificato: per esempio, non è possibile eseguire una somma aritmetica su dati di tipo stringa. Questo concetto generale può applicarsi con diverse sfumature; a seconda del contesto, dunque, l'espressione linguaggio fortemente tipizzato può riferirsi a cose leggermente diverse: tipizzazione statica: tutti i controlli sull'uso corretto dei valori rispetto al loro tipo vengono eseguiti durante la compilazione; sicurezza rispetto ai tipi (type safety): è garantito che vengano fatti controlli esaustivi sull'uso dei valori rispetto al loro tipo, ma non necessariamente durante la compilazione (un programma potrebbe fallire durante l'esecuzione a causa di violazioni di tipo) impossibilità di eseguire conversioni di tipo; impossibilità di eseguire conversioni di tipo implicite; Un esempio limite di linguaggio debolmente tipizzato è il linguaggio macchina, in cui un'area di memoria, rappresentata nel codice da un indirizzo di memoria, può essere usata indifferentemente per contenere valori di qualunque tipo, numeri interi, numeri con la virgola, caratteri, e così via. I linguaggi di programmazione ad alto livello tendono ad avere sistemi dei tipi più sicuri e quindi ad avvicinarsi all'ideale della forte tipizzazione, ma in genere rimangono disponibili meccanismi per trattare dati in modo flessibile che si prestano a essere utilizzati per violare il sistema dei tipi. Per esempio, il linguaggio C fornisce almeno tre meccanismi che lo qualificano come linguaggio debolmente tipizzato: le operazioni di casting, che consentono di forzare l'interpretazione di un qualunque valore secondo un qualunque tipo (anche un tipo diverso da quello a cui il valore è stato precedentemente associato); i puntatori a void, che godono di conversione di tipo implicita verso qualunque altro tipo puntatore; le unioni consentono di interpretare una collezione di dati correlati secondo diverse attribuzioni di tipo indipendenti.
  • Silna typizacja to system typów języku programowania, w którym każde wyrażenie ma ustalony typ i nie można go używać w kontekście przeznaczonym dla innych typów. Silna typizacja wykrywa pewne błędy, jednak ogranicza znacznie język i tworzy wiele fałszywych błędów. Np. mieszanie liczb zmiennoprzecinkowych i całkowitych jest prawie zawsze w pełni poprawne, jednak niektóre systemy silnie typizowane uznają je za błąd.
  • В информатике и программировании понятие Сильнотипизированный язык означает ситуацию, когда язык программирования накладывает одно или несколько ограничений на употребление операций над разными типами данных. Антоним - слаботипизированный язык. Однако этим терминам придавалось такое множество значений за историю вычислительной техники, что часто трудно понять вне контекста, что автор хотел выразить ими.
  • 在電腦科學以及程式設計中,術語-tw:強型別用以描述程式語言對於混入不同資料型別的值,這方面的運算限制中所處的地位。它的反義詞是弱型別。然而,這些術語在短短的電腦歷史中,早已含括了更多的意義,而且時常很難知道寫的人究竟要表達哪個意思。 中國大陸用語習慣稱型別為类型;稱資料為数据;稱執行為运行。
dbpprop:reference
rdfs:comment
  • In computer science and computer programming, the term strong typing is used to describe those situations where programming languages specify one or more restrictions on how operations involving values having different data types can be intermixed. Its antonym is weak typing. However, these terms have been given such a wide variety of meanings over the short history of computing that it is often difficult to know, out of context, what an individual author means when using them.
  • Starke Typisierung (engl. strong typing, daher oft auch strenge Typisierung) bezeichnet ein Schema der Typisierung von Programmiersprachen. Bei der starken Typisierung bleibt eine einmal durchgeführte Bindung zwischen Variable und Datentyp bestehen, es wird auch (möglichst) keine implizite Typkonvertierung vorgenommen. Das Konzept der starken Typisierung ist nicht eindeutig definiert. In der Literatur finden sich diverse Regeln, die sich teilweise widersprechen.
  • Un lenguaje de programación es fuertemente tipado si no se permiten violaciones de los tipos de datos, es decir, dado una variable de un tipo concreto, no se puede usar como si fuera una variable de otro tipo distinto a menos que se haga una conversión. No hay una única definición de este término. Un lenguaje que no es fuertemente tipado se dice que no está tipado.
  • Vahva tyypitys on ohjelmointikielissä käytettävä ominaisuus, joka määrittelee, että jokaisella muuttujalla on tyyppi ja muuttujat voivat saada ainoastaan tyyppinsä mukaisia arvoja. Ominaisuus on käytössä useissa ohjelmointikielissä, mutta ei kaikissa. Vahvan tyypityksen ansiosta ohjelmointikielen kääntäjä huomaa jotkin ohjelmointivirheet automaattisesti.
  • En informatique, un langage de programmation est dit fortement typé lorsqu'il garantit que les types de données employés décrivent correctement les données manipulées. Par opposition, un langage sans typage fort est dit faiblement typé. Depuis son invention, le terme de typage fort a été employé avec de nombreux sens contradictoires, ce qui lui a enlevé presque toute signification.
  • A számítógéptudományban és a programozáselméletben erősen típusos (strong typing) kifejezést olyan esetekben használják, ahol a programozási nyelvek egy vagy több megkötést tesznek arra vonatkozóan, hogy a különböző adattípusú értékek hogyan keverhetőek egymással. Ellentéte a gyengén típusos.
  • In informatica, e in particolare in programmazione, l'espressione tipizzazione forte (strong typing) può essere usata per caratterizzare il tipo di regole che un determinato linguaggio di programmazione impone, a livello sintattico o semantico, circa la tipizzazione dei dati e all'uso dei dati in relazione al loro tipo. L'opposto della tipizzazione forte è la tipizzazione debole.
  • Silna typizacja to system typów języku programowania, w którym każde wyrażenie ma ustalony typ i nie można go używać w kontekście przeznaczonym dla innych typów. Silna typizacja wykrywa pewne błędy, jednak ogranicza znacznie język i tworzy wiele fałszywych błędów. Np. mieszanie liczb zmiennoprzecinkowych i całkowitych jest prawie zawsze w pełni poprawne, jednak niektóre systemy silnie typizowane uznają je za błąd.
  • В информатике и программировании понятие Сильнотипизированный язык означает ситуацию, когда язык программирования накладывает одно или несколько ограничений на употребление операций над разными типами данных. Антоним - слаботипизированный язык.
  • 在電腦科學以及程式設計中,術語-tw:強型別用以描述程式語言對於混入不同資料型別的值,這方面的運算限制中所處的地位。它的反義詞是弱型別。然而,這些術語在短短的電腦歷史中,早已含括了更多的意義,而且時常很難知道寫的人究竟要表達哪個意思。 中國大陸用語習慣稱型別為类型;稱資料為数据;稱執行為运行。
rdfs:label
  • Strongly typed programming language
  • Starke Typisierung
  • Lenguaje de programación fuertemente tipado
  • Vahva tyypitys
  • Typage fort
  • Erősen típusos programozási nyelv
  • Tipizzazione forte
  • Silna typizacja
  • Сильнотипизированный язык программирования
  • 強型別
skos:subject
foaf:page
is dbpprop:redirect of
is dbpprop:typing of