Anti-Pythonism Resources

Strong Arguments
TechEmpower Benchmarks

Weaker Arguments
Energy Efficiency
Less than 2% of languages use indentation
Python is only 5/4 times more efficient to write than something like JavaScript, and Python is less efficient to write than many other languages

Random Stuff I Found
may or may not be of good use
something about indentation

2 Likes

if anyone has more formal proofs, I’ll add them on to the list

2 Likes

Most of your arguments are on how Python is slow, this will change with the release of Mojo lang

I would like to clarify that mojo is not python – it’s easy to set up for simple programs for just a super quick and easy 20x speed up or smth but for more robust programs you will actually need to edit/completely reqrite your code

2 Likes

I also find it odd that the only problem you have with python is that it’s slow. I mean my main complaint is that it has no curly brackets and that it uses def not function. Otherwise, there’s no real argument. Python has it’s strengths and weaknesses as all languages have. Just because it’s slow doesn’t mean you shouldn’t use it period. Oftentimes, when doing things such as data science or machine learning, it’s important to have short, readable code. Even if there’s an argument to switch to other programming languages for programming, fields such as machine learning use python exclusively for production because it’s readable and also because even though other languages may be faster, machine learning is so slow to complete it normally doesn’t really matter if it’s 50 hours or 51 hours. Finally, there are ways to speed up python. There’s a lot of biased arguments that python is slow because other langs are fast but other programming languages are already optimized and actually sometimes need to be “un”-optimized in certain situations. Python is similar to this but actually is “un”-optimized. Firstly, it has trouble with globals and with a few simple fixes, it’s possible to just rewrite your code into a function (local) and have only a single global call to this function, giving a small speedup. In addition, using python lists is inefficient and instead mathematical matrices such as in numpy can be used. Also, programmers should use more efficient data structures like sets or dictionaries as they are O(logn) and O(1) lookup times respectively much faster than O(n). Finally, in fields such as data science or machine learning frameworks such as pandas, numpy, and tensorflow make them unbelievably faster (albeit because they are coded in C iirc). Thus, python has it’s place – JavaScript does too.

2 Likes

There wasn’t a main argument here lmao, the TechEmpower benchmarks just happened to be the strongest and only trustworthy source that I had. If you can find me a formal study that explains how braces are better than the wicked, cruel and sickening torture of indentation, I can add it on to the list of main arguments. Of course, data science and machine learning do mainly use python, but they are just a mere diversion towards our ultimate goal of eradicating this stomach-curling, wretched esolang

2 Likes

?? dude please read first. I said I wanted curly brackets

2 Likes

but curly brackets are braces?
image
I am literally agreeing with you; I have no clue about what you want me to do

2 Likes

I am also literally agreeing with you I have no idea why you started this lol…

I said I wanted those things then you misunderstood it as I didn’t want it and I just told you I wanted it – never ever even said anything remotely to suggest I was arguing

5 Likes

Why JavaScript as the alternative tho? Javascript is just cursed.

1 Like

since when was javascript the alternative? All I mentioned was that javascript was 5/4 slower to write than python, since it was its main competitor, but there are obviously way better languages out there

2 Likes

omg bro this isnt ELA XD

1 Like

what is ela

English Language Arts?.. Idk

4 Likes

oh ok I make essay haha

You should still be using indentation with most languages whether they require it or not ;-;
It’s good practice

2 Likes

Wow you’re so smart

2 Likes

I’m kinda a lua person

2 Likes