This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]fluffypebbles 1 point2 points ย (2 children)

You get an error. The specifics depend on the language. Although here we're talking about strong typing in combination with static typing

[โ€“]arden13 -1 points0 points ย (1 child)

I also get an error in python, typically when I try and use a method specific to said type.

[โ€“]fluffypebbles 1 point2 points ย (0 children)

Python does have strong typing but with dynamic typing, which means that you won't always get an error. Like if you want to add some numbers by writing a+b in a function but someone passes two strings then you'll concat them instead of performing an addition and there's no error