Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy is a waste of time #11492

Closed
irodionzaytsev opened this issue Nov 8, 2021 · 11 comments
Closed

Mypy is a waste of time #11492

irodionzaytsev opened this issue Nov 8, 2021 · 11 comments
Labels

Comments

@irodionzaytsev
Copy link

Mypy is a useless product. Python is a dynamic language. You are wasting yours, and, something I will never forgive you, my time. Please remove this trash from public use. We don't need it. You could do something useful with your programming skills instead making this rubbish. You could make some money, but instead you work for free to create something people don't give a damn about. Get a life.

@sobolevn
Copy link
Member

sobolevn commented Nov 8, 2021

Please, don't be rude 🙂

@JukkaL @hauntsaninja this probably needs to be deleted.

@acidjunk
Copy link

acidjunk commented Nov 8, 2021

For us it flagged a lot of dynamic typing bugs before stuff went to production so it was cost effective. (usecase: enterprise software).

But we also lost countless hours on weird typing problems and bugs. As an example; right now I am looking into some weird walrus operator behaviour (equivalent code without walrus has no type problems + code with walrus operator complains about trying to do stuff on a possible None value; probably related to #7316). We also had quite some extra work, on occasion, when mypy or python was upgraded, in the last couple of years.

I understand that you can be sentimental about code and especially time: but there is no need to be rude (IMHO).

@enomado

This comment has been minimized.

@theLastOfCats

This comment has been minimized.

@ambv
Copy link
Contributor

ambv commented Nov 8, 2021

@irodionzaytsev your attempt at bullying volunteers is not appreciated and is in direct violation of our Code of Conduct. Continue on that path and see what happens.

Python is a huge language these days with many users from different backgrounds. Few of them use the entire feature set. It's okay to have features you're not interested in. Typing isn't mandatory, neither is asyncio, nor using IDLE as your main editor. You don't have to store configuration in .ini files parsed with configparser and you don't have to use pip, even though it comes bundled with Python. But believe me, for each part of Python you consider useless, there are thousands of people for whom that part is indispensable.

There are 10+ accepted typing-related PEPs. Plenty of organizations adopt typing on their own accord with no action from core developers. Clearly, it's useful for them. An increasing number use other type checkers so this isn't functionality specific to Mypy. It's a big community already, and growing! So when you say "we don't need it", you're just wrong. Or maybe you're a descendant of tsars who uses the "royal we" when addressing himself? In any case, it's laughable. Stop it.

@hzlmn
Copy link

hzlmn commented Nov 8, 2021

It would be great if it was possible to ban such users from @github forever... It is all about community and if you dislike something propose better alternative or just don't use it. Mypy is not forced tool in python ecosystem.

@abhiramr
Copy link

abhiramr commented Nov 8, 2021

@irodionzaytsev Łukasz was nicer than your comment warranted. It was toxic and unnecessary. If you don't like something, don't use it. No one's forcing you to.

@PythonicNinja
Copy link

PythonicNinja commented Nov 8, 2021

@irodionzaytsev you are just being rude!

No arguments were given, you just wrote ad personam comment which is very harmfull to opensource community.

@mazulo
Copy link

mazulo commented Nov 8, 2021

image

@reed9999
Copy link

reed9999 commented Nov 8, 2021

People can support or not support whatever projects they like, but it's "something people don't give a damn about," that makes this a work of art. The Internet is full of vehement, self-negating posts about how X is something people shouldn't care about.

Since sarcasm doesn't always translate -- it's a "work of art" in illogic and self-contradiction. I don't know anything about mypy, and now I'm going to learn something about it because of this post (the "Streisand effect").

@JukkaL JukkaL closed this as completed Nov 8, 2021
@OsKaR31415
Copy link

Well i personally just discovered mypy, and i find that it seems quite usefull !
How many times did i got a python bug because i wasn't properly handling the type i gave it or it was doing some fuss because of python bizzare behaviour...

So actually, if you don't find it usefull does not mean that it is useless.

@python python locked and limited conversation to collaborators Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests