Talk:Strong typing

From Wikipedia, the free encyclopedia
Revision as of 00:14, 11 July 2024 by imported>Qwerfjkl (bot) (Removed deprecated parameters in {{Talk header}} that are now handled automatically (Task 30))
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 31 December 2006 by 68.209.189.7 in topic Visual Basic Literal
Jump to navigation Jump to search

<templatestyles src="Module:Message box/tmbox.css"/><templatestyles src="Talk header/styles.css" />

Script error: No such module "Check for unknown parameters".Script error: No such module "Check for deprecated parameters".

Template:WikiProject banner shell User:MiszaBot/config

Visual Basic Literal

  • Visual BASIC is a hybrid language. In addition to including statically typed variables, it includes a "Variant" data type that can store data of any type. Its implicit casts are fairly liberal where, for example, one can sum string variants and pass the result into an integer literal.

What is the meaning of the phrase 'integer literal' here? I have always understood the term to mean an integer that is in decimal form in the source code, i.e. in the code:'int x = 5' - '5' is an integer literal. In this context, the above quote doesn't make sense, as there can obviously be no assignment into an integer literal. I would correct it, but I have no idea what is trying to be said there, and I'm not familiar enough with VB. — Preceding unsigned comment added by 68.209.189.7 (talk) 18:49, 31 December 2006 (UTC)Reply

Typing doesn't refer to keying

Perhaps it should be noted somehow that the term 'Typing' refers to data types, not keyboard typing. It took me a couple paragraphs before I realized this.. 24.136.120.12 — Preceding undated comment added 14:40, 6 September 2006‎ (UTC)Reply

Introduction

Recently there was a change to the article that was described as "Better introduction". While I would be happy to see a better introduction to this article, I think that the introduction that was inserted wasn't better.

The substantive addition of the new introduction was the statement that:

In computer science, a strongly-typed programming language is one that is not weakly-typed.

This is an inane truism. The linked article weakly-typed programming language added nothing useful; it was a link back to this one. I have replaced it with a redirect.

The introduction that the article has now suggests that Strongly-typed language has no generally agreed-upon meaning:

the phrase strongly-typed, when applied to a programming language, may have one of several incompatible meanings, depending on context.

-- Dominus 14:21, 1 November 2004 (UTC)Reply