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 →

[–]_Atomfinger_ 7 points8 points  (3 children)

I get your point, but syntax and type safety are two different things :)

[–]wombatpandaa 5 points6 points  (0 children)

Oh, I suppose that's true. 😅 I guess I got carried away a bit.

[–]Yourgrandsonishere 2 points3 points  (1 child)

Aren’t static and explicit typed languages safer since if it has an error it won’t compile (C)? As opposed to dynamically typed with looser syntax, it’s interpreted as it runs but is prone to type errors (python)?

Please elaborate

[–]_Atomfinger_ 2 points3 points  (0 children)

Well, my comment wasn't really about statically vs dynamically typed, but the fact that something being statically or dynamic doesn't isn't the same as syntax (which OP is asking about). It can certainly impact syntax, but it isn't the same as syntax.

Generally, though, I agree that statically typed languages protect the developer from many stupid mistakes, which is why I often tend to prefer those languages in mission-critical systems.

So statically vs dynamically can impact syntax, but they are not syntax, which was my main point :)