Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@irene Pycharm (no idea if Ultimate only) does type checking while typing. While still not enforced, it does its job very well.
-
@sbiewald many methods can not be detected by Pycharm and usually I have to use an extra Jupyter Notebook to dir a variable to see which methods it can
-
Hazarth94555yThis is why I use python for all my small tools, utilities, any kind of rapid prototyping and POCs
-
@AI-Overlord That's a bit strange... Even the default IDLE can sense all attributes, after the code has run at least once.
I actually never had problems with missing attributes in PyCharm, but I get the professional edition for free as I am a student.
When I first began with Python I really missed the static typed checking from Java, I barely know anything about a returned object from a method and have to read the API extensively for every new library.
After a while I finally understand why Python is so powerful, the combination of dynamic typed language and rich default methods make the language unbeatable for your productivity.
While Java's Object only has toString(), hashCode(), equals() or clone(), Python's basic Class has every fucking method for every scenario I could ever image. No wonder that libraries like numpy or pandas work so well and fluidly.
random