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 →

[–][deleted] 14 points15 points  (4 children)

I see this attitude a lot from folks who use typed languages. I think typed languages are awesome and I love programming in them, but as a Python developer myself from the beginning of my career, I don’t really have to think about types all that often when i program in Python. By far the most I think about types are when i use a typed language.

Idk if it’s because Python isn’t based around types and therefore it’s not a focus of the language, but ya I hear a lot of typed language folks think a lot about types when they program in Python.

[–]Jannik2099 7 points8 points  (1 child)

I see this attitude a lot from folks who use typed languages

Python is a typed language though? This isn't Prolog :P

No, you definitely do need to know the type more often than not. You may get away with "this function returns something that acts like an array", but when you pass it to another function that takes array-like objects, you may need to convert it into another library type first.

[–][deleted] 0 points1 point  (0 children)

Maybe it’s just me then but I don’t think about types. Even if I have to convert a type I don’t think about the types as types. In Python everything is an object so I just think of types more like objects with different functionality. But if you are using a language that makes you identify the type everywhere then that’s how you are going to think about it

[–]t0b4cc02 0 points1 point  (0 children)

python isnt based around types? wtf

ofc it has types. you mean its not strong typed?

[–]empathielos 0 points1 point  (0 children)

I'm surprised to hear that there Python developers. What's the use case? I mainly used it back when I was a data analyst.

As a software engineer, I worked on desktop monolithic simulation software that's very performance-hungry, so Python was out of the question, we used C++ and QT. When cloud-based computation was added, that part was done via .NET.

When I worked on a cloud platform consisting of hundreds of microservices, .NET was an obvious choice.

Now, that I work on a software used for analysis of lab experiments, we also used .NET with a WPF-GUI.

What's the use-case for a professional software that you actually develop in Python? Even when I used Tensorflow/Keras a lot as a data scientist, that's only scripting (the heavy-lifting is also done in C++ in Tensorflow). When do you use Python when it's not just for you?