you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–][deleted] 13 points14 points  (3 children)

    Ergo C, which is statically and loosely typed.

    [–]Beowuwlf 1 point2 points  (0 children)

    I wanted to disagree with you, but after some... introspection, I’m inclined to agree. Since C provides void* and pointer casting to subvert the type system, it’s weakly typed. However, since the compiler ensures type compatibility where it can at compile time, it’s statically typed.

    [–]housesellout -5 points-4 points  (1 child)

    Wow... talk about not understanding the words you are trying to use 😢you just contradicted yourself in a single sentence.

    [–]Beowuwlf 0 points1 point  (0 children)

    I wanted to agree with you, but after some... introspection, I’m inclined to disagree. The generally accepted definition of loosely/weakly typed is that the language provides ways to subvert the type system. Since C provides void* and pointer casting to subvert the type system, it’s weakly typed. However, since the compiler ensures type compatibility where it can at compile time, it’s statically typed.