Unpopular Opinion
Welcome to the Unpopular Opinion community!
How voting works:
Vote the opposite of the norm.
If you agree that the opinion is unpopular give it an arrow up. If it's something that's widely accepted, give it an arrow down.
Guidelines:
Tag your post, if possible (not required)
- If your post is a "General" unpopular opinion, start the subject with [GENERAL].
- If it is a Lemmy-specific unpopular opinion, start it with [LEMMY].
Rules:
1. NO POLITICS
Politics is everywhere. Let's make this about [general] and [lemmy] - specific topics, and keep politics out of it.
2. Be civil.
Disagreements happen, but that doesn’t provide the right to personally attack others. No racism/sexism/bigotry. Please also refrain from gatekeeping others' opinions.
3. No bots, spam or self-promotion.
Only approved bots, which follow the guidelines for bots set by the instance, are allowed.
4. Shitposts and memes are allowed but...
Only until they prove to be a problem. They can and will be removed at moderator discretion.
5. No trolling.
This shouldn't need an explanation. If your post or comment is made just to get a rise with no real value, it will be removed. You do this too often, you will get a vacation to touch grass, away from this community for 1 or more days. Repeat offenses will result in a perma-ban.
Instance-wide rules always apply. https://legal.lemmy.world/tos/
view the rest of the comments
It's not enforced because python like a number of other languages isn't a strictly typed language. That decision was made by the creator of python and has been continued to this day, it wasn't a part of their vision for python.
I would suggest you consider using a different language since you obviously don't care for python based on that complaints you've used that mirror complaints from every other person who "just doesn't see the use of python".
Protip: I'm willing to bet that if your code is slow, it needs some refactoring. That or you could consider compiling your python into C code.
But I took your advice to heart and installed a Linter
I'd recommend a code formatter as well, it won't improve code execution but it greatly improves readability which is a massive plus to me. I love black personally
Python is strongly typed, but dynamically checked. Working with other languages I just found, that the type errors in python are the hardest to catch and to debug, but maybe I am just more used to othet languages
I see it's use as language to write small scripts, I just don't see much use besides that.
Here is a article talking about the speed of compiled python vs Julia. I don't see why it is better to go to all these extra steps just to end up with something slower. https://www.matecdev.com/posts/julia-python-numba-cython.html