bcholmes: (Default)
[personal profile] bcholmes

Geek question:

What is the feature of a language that you consider "strong typing"? How does strong typing manifest itself (or not) in your favourite language or two?

(no subject)

Date: 2005-11-17 11:36 pm (UTC)
ext_6381: (Default)
From: [identity profile] aquaeri.livejournal.com
I'm curious, because I use python, which I've been given to understand is very weakly typed, and yet:
>>> foo = "a"
>>> foo += 1
Traceback (most recent call last):
File "", line 1, in ?
TypeError: cannot concatenate 'str' and 'int' objects

I use python because I Am Not a Programmer and it's the only thing I can remember enough of when I go back to my hacky code six months later to not waste huge squads of time figuring out what I was doing.

I did program in C once, and didn't do too badly. And I even wrote some stuff in PostScript.

Profile

bcholmes: (Default)
BC Holmes

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
2324252627 28 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Powered by Dreamwidth Studios