3 ms·
> A professional Python programmer probably has their IDE/editor set up so it can shows a brief document for `str.endswith` already. Someone who is new to Pytho
by dragonwriter 3y ago
> A professional Python programmer probably has their IDE/editor set up so it can shows a brief document for `str.endswith` already. Someone who is new to Python (probably not even a programmer yet) might actually prefer the hand-holding from those content farm pages.
Someone who has been exposed to the most basic Python features and knows they want info on str.endswith can just type help(str.endswith) in the Python interactive environment.
- hedora 3y agoSo, maybe google should tell them that and turn away their business?
- dragonwriter 3y agoI’m saying that fact shapes the set of people resorting to Google in the first place and what they are looking for.
- danaris 3y agoWhich is all very well (and for something simple like str.endswith might well be enough), but for many things, even a professional Python programmer might either a) not remember the exact name of the method or other thing they're looking up, or b) want a more detailed explanation or examples showing usage. None of that is going to be given either in an IDE or from help().