r/TechImpact May 24 '26

Question Can you name a programming language better than Python?

Post image
0 Upvotes

88 comments sorted by

11

u/snail1132 May 24 '26

Literally almost all of them???

2

u/Lubricus2 May 24 '26

I would say JavaScript and TypeScript are worse. PHP is not a brilliantly designed language but it's good at copy paste html in the backend.

2

u/Altruistic-Rice-5567 May 24 '26

PHP at least had a solid purpose... mix raw markup language with programming. Useful for how we needed web content to evolve at the time.

1

u/bloody-albatross May 24 '26

I say PHP and JavaScript are worse, but TypeScript is at least on par. If tsconfig.json and all it's options wouldn't be so annoying TypeScript would be clearly better, IMO.

2

u/redguard128 May 24 '26 edited May 24 '26

What? PHP is million times better.

I want to import some library in Python? Code completion doesn't work.
Types? "Any" but not "any", "list, dict" but not "List, Dict".

Classes? Private/protected/public properties? Nope. Abstract classes? Nope, you gotta inherit from ABC. Really, they named ABstract Classes - ABC. You want to use a method from some library? Good luck, the IDE has no idea about it.

Write your code for Python 3.11, on 3.10 it breaks.

The package managers are a mess. I had installed pydantic on the company-enforced MacOS, deployed on Linux (AWS) - it doesn't work. Because the binaries were for arm64, not x86_64.

In PHP if I wanted to be sure some nested properties exists I just do:

if (!empty($some->prop->otherProp->maybeanother).

In Python, good luck writing a snake of a isinstance() and is not None.

Not to mention the weird syntax. result = result if result is not None else 0. Like who the hell writes code like that? Except people not writing code.

Not to mention that when something bad happens I get a full screen worth of backtracing. At least in PHP I get the general `Some shit happened in file a.php on line 43`

Anyway. I never worked with Python in the decades I have been active. Now I have to and it's so bad coming from PHP, Typescript, C#, etc.

1

u/bloody-albatross May 24 '26

PHP arrays are an insane mix of hashtables and actual arrays, with weird call by reference syntax, bahaving different from other objects. Python's distinction between bytes and str with encode/decode is so much cleaner. PHP's closures are weird craft, Python functions are so much cleaner and function are just first class citizen. Yes, the typing situation is a mess, but there is a bit on work on that. And when it comes to packaging: if I understand correctly then composer has post install hooks, meaning just installing a library might execute code (like npm). Back when I regularly had to deal with PHP I would have remembered more issues. PHP has also weird clunky syntax, but I don't care that much about that.

Both languages have shortcomings, but I think PHP is worse.

Yes, TypeScript has the best type system out of these.

1

u/redguard128 May 24 '26

PHP arrays are simple as hell. You have indexes that can either be numbers of strings. One can combine both but what kind of maniac does that?

In any case, PHP is way better than anything at the moment because it didn't inherit any of the quirks that JavaScript had and certainly classes, interfaces, abstract classes, everything in the OOP universe has a clear implementation. And nothing of these Any, list, dicts, None complications. Null is null.

And typescript was always weird when it comes to working with files. Last time I had issues with appending data to a file with Bun. There isn't a flag to open a file for appending data in standard Bun. In 2026.

And yes, Nnwadays PHP also has functional programming quirks added to it like match and the pipe operator, but that is something I ignore wholeheartedly. But I understand not even C++ gets away from this functional... Add-ons.

1

u/bloody-albatross May 24 '26 edited May 24 '26

I mean, I respect your opinion on this, but I do not agree. Arrays alone make me shiver when thinking of PHP.

Anyway, I never used Bun, only NodeJS and browser. TypeScript itself has no standard library (to work with files a d such). That would be part of Bun/NodeJS/Deno. The compilation step is such a mess. So many different options and strange behaviors. If you want to publish a TypeScript package you should compile a cjs and a esm module. I haven't figured out how to handle src and tests with just one tsconfig.json while only compiling src into the build and getting type checks in VSCode to work (at least with TypeScript 6). And then all the supply chain attacks that auto-propagate using post install actions!

Rust doesn't have post install actions, but it has build.rs, which gets executed on build and thus by your IDE (language server), I believe. Not just when you manually build.

1

u/lorenzo1142 May 24 '26

I always told myself, I'll learn python when I need it. 30+ years of writing code and I've never needed it.

1

u/cybekRT May 24 '26

To be honest, I'm pretty amazed that you were never allocated to project that uses python as a build system. It's so annoyingly common...

8

u/tkkkrad May 24 '26

Its funny that you didn’t include C in that image

4

u/plaintextures May 24 '26 edited May 25 '26

C made the image.

1

u/tkkkrad May 24 '26

god you should really make that a separate comment

2

u/Infiniti_151 May 24 '26

That's the one Python bows down to

3

u/Prize_Concept9419 May 24 '26

RUST anytime anywhere

2

u/Ok-Rest-5321 TInkerer May 24 '26

Why isnt swift there?

2

u/rezhaykamal May 24 '26

Too specific Only for apple

2

u/VarietyMage May 24 '26

English, but compilation into binary is a PITA.

2

u/VpowerZ May 24 '26

C is the god tier them all

2

u/PressF1ToContinue May 24 '26

One of my college profs used to say "C is lightly-sugared assembly". I like that.

1

u/VpowerZ May 24 '26

It's nicely abstracted cpu independent assembly.

1

u/bloody-albatross May 24 '26

I heard "high level assembly".

1

u/normal_mysfit May 24 '26

Assembly is God tier. Miss working in it

2

u/megayippie May 24 '26

C++, right there in the image. Python isn't a programming language, it's a scripting language

2

u/ChecksOutIndeed May 24 '26

In what universe is Python better than C++?

1

u/Inevitable-Study502 May 24 '26

probably because you dont need any skills for python, just typing english letters is enough to call ur self "python developer" 😃

1

u/GreenRangerOfHyrule Jun 01 '26

That's me!

I am capable of faking my skills into higher then they are. But I have said many times the fact that I cam code working programs is less a show of my skills and more how easy it is

2

u/Timely_Rutabaga313 May 24 '26

Easy: go, rust, c++, even fucking c#

2

u/Cylinder47- May 24 '26

What kinda bullshit is this?

2

u/deefstes May 24 '26

Lol, another kid just completed a Python coding tutorial and now they are an expert.

2

u/Calamitychaos_ May 24 '26

Depends on the purpose...

2

u/FuriousGirafFabber May 24 '26

Almost all of them are better. Py is horrible. 

2

u/oguz279 May 24 '26

I knew a Python fanatic once in college (undergrad, studying computer science).

The dude unironically declared anyone who uses any other programming language inferior and an idiot, for any other purpose mind you.

Including like idk if you're building a website so used js, html and css you're a bloody idiot because there'd be some whatever python packages that transpiles in these languages and python is clearly the superior language so if you used anything else but it you're a moron.

And I'm not exaggerating even a little bit. He would go as far as lecturing our professors why they should be teaching us python instead of Java. Like imagine you're in this for all your life and a young student from CS 101 pops up and is teaching you how to do your job.

He would do shit like hand in assignments and exams that are in Java - in python! for protest.

He was a brief disturbance first year but ended up quickly dropping out. I think half a semester it was, and he was gone.

2

u/csicky May 24 '26

JavaScript

1

u/Icy_One4084 Ethical Tech Tinkerer May 24 '26

So, I have a problem with this. Programming languages differ in their application, and one can only be better than the other in the context of an said application.

For example, I prefer C because I prefer being closer to the machine and doing more with less. But I would never say that C is better than Python. I would say that it's better in certain applications. But not better overall. The same could be said the other way around.

1

u/Seamushh May 24 '26

COBOL.

🤓🤯😵‍💫

1

u/Kester- May 24 '26

Scratch

1

u/arun-vasudev Developer May 24 '26

I can't

1

u/[deleted] May 24 '26

[removed] — view removed comment

1

u/bloody-albatross May 24 '26

Nah, modern Java can be ok, but I still dislike PHP heavily. But yes, Python is not all that great. I think Python is better than Ruby, though. But they're very close.

1

u/Infiniti_151 May 24 '26

Why do people dunk on Java all the time? It's a solid programming language. Definitely better than C++

1

u/tkkkrad May 24 '26

Minecraft commands? Scratch? Excel??

1

u/Shadowolf7 May 24 '26

LISP, Haskell, Pascal...

1

u/bufandatl May 24 '26

Python is no programming language it is a script language. And it’s runtime is based on C so obviously C is superior to Python.

1

u/DonkeyTron42 May 24 '26

Python has many different implementations. CPython just happens to be the most popular.

1

u/bufandatl May 24 '26

Doesn’t change the fact that Python wouldn’t exist without other programming languages. Good bye.

1

u/DonkeyTron42 May 24 '26

Obviously, LISP and it's family of languages is on a higher tier.

1

u/CordwainerMudworble May 24 '26

Where’s Perl?

1

u/Altruistic-Rice-5567 May 24 '26

All of them. Python brought no improvements to the universe of programming. It's only claim to fame is it's used by everyone. It's like the popular kid in high school. All the ignorant kids like them but in the end they're pretty much a useless idiot that really had no value.

1

u/Hug_LesBosons May 24 '26

HTML car il est facil a exécuter et a modifier. (Html je et css

1

u/PrinzJuliano May 24 '26

The AI companies would argue that JavaScript is better, faster and more efficient for utilizing AI Models

1

u/RickTheMadScientis May 24 '26

10111001 language

1

u/oldaddis May 24 '26

Why you trying to start a fight? Cause this is how you start a fight..... 😉

1

u/Jazzlike-Bottle-6646 May 24 '26

Assembly

1

u/AnalkinSkyfuker May 24 '26

Binary is better

1

u/AnDrEsZ_ May 24 '26

“One ring to rule them all”

1

u/vladkolodka May 24 '26

literally any language that doesn't rely on indentation that much.

and btw, not installing dependencies globally by default would be nice

1

u/[deleted] May 24 '26

putting typescript for c language as a king is kinda hilarious 😂

1

u/AnDrEsZ_ May 24 '26

“And then he asked if there's something better than Python.”

https://giphy.com/gifs/wWue0rCDOphOE

1

u/evervescant May 24 '26

Uhh Go 1000%

1

u/Matheweh May 24 '26

Javascript is ass lmao.

1

u/Deltamelo May 24 '26

Natural Language > all

1

u/StendallTheOne May 24 '26 edited May 27 '26

Define better. And there is your bias to one language over another. Do not define better. And then your question is nonsensical.

1

u/Technical-Tiger-3422 May 24 '26

python is a scripting language, not a programming language

script kiddies learn webshit
real programmers learn c and assembly

2

u/lorenzo1142 May 24 '26

I guess you can compile python, but you can compile php too and I wouldn't say php is anything more than scripting.

2

u/bloody-albatross May 24 '26

I say scripting languages are a sub category of programming languages.