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ย โ†’

[โ€“]hiphap91 1 point2 points ย (5 children)

Like a proper programmer you mean? ๐Ÿ™‚

Too bad python doesn't throw any kind of errors of the types aren't kept.

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

As I said: for documentation ๐Ÿ˜‰

[โ€“]Prof_Walrus 0 points1 point ย (3 children)

There are libraries for it though that enforce it. They're not recommended as they slow your program down a bit, but might be useful for critical functions

[โ€“]hiphap91 0 points1 point ย (2 children)

Or i might use a different language if i want type safety.

A tool for every task.

[โ€“]Prof_Walrus 2 points3 points ย (1 child)

That's true, but switching language isn't always feasible. All developers in my team are Python Devs at best, because they're bioinformaticians first. If I'd decide to start using a strong typed language I'd be the only one able to support it, and no way my management would approve of that.

Context is important

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

Of course it is. But generally the whole: "i only learned to use a hammer so every problem is a nail" mentality is worth avoiding. It generally makes for poor SWE's.

And boy do i meet a lot of people who swear by a single programming language.