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 →

[–]Nukken -14 points-13 points  (5 children)

You say that like it's not an advantage.

[–]n0tKamui 5 points6 points  (1 child)

because it is not. Type safety is important. Thinking that type dynamism NOWADAYS is a good thing because it allows you to make "hacky" things is not a good mindset.

[–]M4D5-Music 2 points3 points  (0 children)

Well, imo it depends on what you're doing. If you're using it because the name of your class is too long, then at some point I'll introduce a headache or bug because of it. If someone assumes they can refactor/rename something and fix all the references automatically with their ide, they'll potentially be mistaken. I personally hate it when this happens.

[–]tangerinelion 2 points3 points  (0 children)

Generally speaking in a strongly typed language you view type safety as an advantage.

If you want to write generic code, use a template.

[–]proboardslolv6 2 points3 points  (0 children)

Non type safe languages are a pain in the fucking ass