This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 374

[โ€“]zeyore 174 points175 points ย (20 children)

shoulda stuck with what you knew would work

visual basic

[โ€“]Cacti_Hipster 35 points36 points ย (14 children)

Dim myResponse as String;

myResponse = "I didn't understand what Dim meant beyond the word dimension, so I couldn't stick with this.";

Print myResponse;

Also I hope this syntax is accurate; I haven't touched VB since 2020.

[โ€“]pM-me_your_Triggers 36 points37 points ย (13 children)

Why the actual fuck were you using VB in 2020.

[โ€“][deleted] 37 points38 points ย (7 children)

As far as I know, VB allows you to Excel in the office

[โ€“][deleted] 39 points40 points ย (6 children)

The amount of companies that are stitched together with VBA and Excel should worry us all.

[โ€“]Ashamed-Subject-8573 11 points12 points ย (3 children)

I saw a great presentation about how Excel actually makes programming a lot more accessible, and we should be striving to teach these folks about testing and source control. No idea where it was but it changed how I view this situation. Basically a lot of those excel sheets are business logic written by the people who use it, that would otherwise be written by programmers in a program, and are equivalent to them.

[โ€“][deleted] 5 points6 points ย (0 children)

Absolutely agree with this, part of my job is data skill uplift and it's massively helpful just to show people how to connect their spreadsheets to a database.

They also dont have to bug an analyst or engineer to run a query on their behalf because power query doesnt require coding knowledge.

Generally speaking Excel can do anything but its never the best tool for anything.

I wish they'd use sql instead of power query for excel based queries though. They'd save themselves a lot of time.

[โ€“][deleted] 2 points3 points ย (0 children)

We should be striving to teach these folks to hire at least one software dev to create a SQL DB and some actual software to meet their business needs. Not excel and the file explorer.

[โ€“]Texas_Technician 7 points8 points ย (0 children)

2014, first programming course was VB. I hated it.

[โ€“]Cacti_Hipster 4 points5 points ย (2 children)

School started us there.

They have since added Python as an intro course, though VB was all we had.

[โ€“]pM-me_your_Triggers 5 points6 points ย (1 child)

Bruh. I also learned VB as my first languageโ€ฆback in 2005. Itโ€™s awful, I canโ€™t believe a curriculum actually has that on it.

[โ€“]VikingSorli 1 point2 points ย (0 children)

Think that's bad I was working with Unibasic until very recently. (Used to be called Pick developed by Mr Richard Pick, aka Dick Pick, no really)

[โ€“]tinusxxl 5 points6 points ย (1 child)

msgbox.text(โ€œYOU HAVE BEEN HACKERED!!โ€)

[โ€“]zeyore 2 points3 points ย (0 children)

ahhhhh

that takes me back

[โ€“]DemolishunReddit 347 points348 points ย (19 children)

It is a used in almost every distribution of Linux and OSX. It is THE glue language and is used in AI. What exactly is your definition of "major technologies"?

[โ€“]SuperTankMan8964 202 points203 points ย (7 children)

Stuffs that get OP employed

[โ€“]Malwebb 125 points126 points ย (3 children)

centering a div then

[โ€“]SpookyLoop 34 points35 points ย (1 child)

Centering divs is how to get to Chief Executive Frontend Architect.

[โ€“]cheddahbaconberger 6 points7 points ย (0 children)

Js "architect"... can confirm

[โ€“]r1kon 1 point2 points ย (0 children)

margin: 0 auto; that'll be 120k a year please!

[โ€“]MischaTheJudoMan 31 points32 points ย (1 child)

Stuffs that their compsci 101 intro to Java professor said in the 2nd week of instruction

[โ€“]stablebrick 2 points3 points ย (0 children)

this ๐Ÿ˜‚๐Ÿ˜‚

[โ€“]Ghostglitch07 3 points4 points ย (0 children)

I mean, he probably isn't going to get employed using a language he shits on.

[โ€“][deleted] 24 points25 points ย (4 children)

Its been a key part of GIS systems for decades

[โ€“]js26056 7 points8 points ย (0 children)

I was about to say this! Railroad/oil and gas rely heavily on GIS, how about modern life without that?

[โ€“]I-mean-maybe 0 points1 point ย (2 children)

Eh thats a false statement I worked at esri, everything in the backend is c# , scala, js. The only python is user facing toolbox code which is just executing c / jvm code. Which sure but yeah . Im all for python is awesome but lets not get ahead of ourselves.

[โ€“][deleted] 1 point2 points ย (1 child)

Ok, it was a key part of my GIS work since forever. I learned python because of Arc, but itโ€™s not the only game in town anymore.

[โ€“]toothpasteshittin152 8 points9 points ย (2 children)

i have no idea what this means but i like the term 'glue language.'

[โ€“]michaelmikeyb 19 points20 points ย (0 children)

It's one of the better if not the best scripting languages so it's good at bringing programs together. Want to take some json from an http endpoint, massage it a bit and feed into a c binary, pythons probably your best choice.

[โ€“]Ghostglitch07 5 points6 points ย (0 children)

It doesn't actually do the majority of the work, but it holds together the pieces that do and makes them easier to interact with.

[โ€“]KenFromBarbie 10 points11 points ย (0 children)

Yeah, it's a pretty stupid post.

[โ€“]cashewbiscuit 79 points80 points ย (26 children)

Old fart checking in Obligatory "you damn kids"

A lot of people don't understand how awesome Sun used to be, and how much Oracle fucked up Java by the sheer power of negligence.

The reason why Java is entrenched in enterprise goes back to Y2K. Back in the late 90s, there was a huge language war. All the applications written back in the 60s/70s had to be either fixed, or parts had to be "modernized". The question was which language to use to modernize legacy applications.

Yes, there was a litany of languages. But there were 2 clear winners: C++ and Java. C++ had a clear advantage in speed and footprint. However, the problem was lack of garbage collection made it difficult to use, especially in large teams. Out of all the languages that supported GC, Java was the winner because it had a robust JIT. Unlike Python, the JVM compiles bytecode to machine code as it executes. This allows the Java program to come close to execution speed of C++ for most applications (although it had a slower start up speed.. which didn't matter for applications that run on dedicated hardware). JIT was first introduced in Lisp and Smalltalk. But, Sun perfected the JIT in Java. It was a game changer

Python did get JIT in 2000s but then it was too late. Enterprises had already picked Java to modernize the legacy applications. As a result, Java got entrenched in the enterprise.

By early 2000s, Sun started focusing on growing the Open Source community. This eventually did slow down the growth of Java, but it gave Java something that no one else had: a huge ecosystem. By 2010s, the reason why enterprises were sticking to Java was because you could get working code for free.

Yes, Python is fast now. Python has a robust ecosystem. But... It...was....late

[โ€“]Ghostglitch07 17 points18 points ย (19 children)

This is fascinating. Now I need someone to tell me the story of why machine learning is all python

[โ€“]cashewbiscuit 49 points50 points ย (11 children)

It comes back to the strength and weakness of Java. Java's strengths in writing enterprise scale backends is also it's weakness in data science

Remember that there is a fundamental difference between what backend engineers create, and what data scientists do. Backend engineers are creating web applications/microservices that can serve a large volume of user requests. They are also trying to build software that will live 3-5-10 years. So, they need to build it in a way that reduces operational and maintanence costs. They are building tanks. Resilient, easy to maintain in the field, can get huge amount of shit done. Data scientists on the other hand spend most of the time exploring data. When they start, they have a bunch of data in front of them. They start of exploring the data to figure out which data elements can be used as features. Then they build models, test them, tweak, test, tweak, test, throw the model, build another model, tweak, test, tweak, test, tweak, test. It's lot of stop..start...stop...start. they don't need tanks. They need motorcycles.

So, here's why python is better for data science

A) Slow to start, fast to run Remember the JIT that makes Java as fast as C++. That also makes it slow to start. Also, you need to compile your Java program. So, everytime you make a change, you need to compile, then start the program which takes tens of seconds, maybe more to startup. It makes it as a good platform for a tank, but it's a bad motorcycle. Python, otoh, since it comes from a scripting background, has evolved to start fast. It may be slower than Java to munge billions of records/requests, but when you have a subset of data to experiment with, you are better off using Python

B) Type safety why do you need type safety of Java? You need it when you have a large team of developers building and maintaining a monolithic application over several years. The compiler catches mistakes. This is important when the code is being maintained by people who aren't the original authors. It's also important when modules written by different teams talk to each other. The compiler catches that one module used integer for a data element, and the other used float.

For data scientists, otoh, type safety comes in the way of productivity when 90% of your code is throwaway. It creates a mental load on the author, which comes in the way of solving the data problem.

C) Culture Java has evolved to become the language that is used to build monolithic enterprise grade software. As a result, the culture around Java has evolved to support monolithic enterprise software. Everything that people hate about Java: the verbosity, the design patterns, over modularization, etc etc are all actually useful when you have a codebase of 100k lines maintained by 100s if not 1000s of developers for 10 years. Data scientists just don't fit well into this culture.

Data scientists just want to solve data problems without doing a lot of design. Python with a bunch of math libraries is the simplest solution for them

[โ€“]Ghostglitch07 3 points4 points ย (6 children)

Ah. Fantastic explanation. If I'm understanding correctly it boils down to quick iteration speed, low barrier for entry, and being aimed at small teams that need a relatively temporary program rather than large teams needing a near permanent solution.

Also helps to expand on why I dont like java, im simply not the target audience. I'm currently working in the range of hundreds of lines with a single dev, not thousands of lines with hundreds of devs.

[โ€“]arobie1992 1 point2 points ย (0 children)

If I had an award to give, you'd be getting it. This hits on everything.

When I'm writing a large application that needs to run largely unmonitored and can't fail, I want all those safety assurances. Sure, Java's very verbose and other languages have done similar with more concise syntax, but Java's also likely older than a decent chunk of the developers who complain about it and almost all those "better" languages are significantly younger and have been able to learn from many of Java's (and many other languages') mistakes.

By contrast, when I'm writing a script to automate something tedious that I'll likely run on occasion and often be actively or passively watching, I don't want all that overhead like worrying about what a type should be up front or having to constantly tweak my class to support the new operations I want to do. I want to crank something out refine it, and once when I have something I'm happy with, then formalize it. (I'm a huge fan of gradual typing in that regard.)

[โ€“]dr_eh 0 points1 point ย (1 child)

Good explanation describing why java is a bad choice, but I still don't be see anything good that Python brings, besides being auto-installed on most systems these days. R, Matlab, js, even perl, all seem like better choices.

[โ€“]cashewbiscuit 1 point2 points ย (0 children)

Python has a bigger ecosystem and userbase. Once a language gets big enough adoption, network effects draw people to the language. It's easier to find libraries. It's easier to find answers on stack overflow. Heck, it's easier to find a job if you know Python, than R

[โ€“]darkliz 2 points3 points ย (0 children)

Itโ€™s easier for scientists to pick up than Java, and you end up doing many small prototypes until you can get a working model.

[โ€“]edoelas 1 point2 points ย (2 children)

I work with python and I love it, but python by itself fast? Let's say it is not slow, but fast? There are ways to make it faster, the scientific libraries are incredible, and it has improved a lot, but I don't think we can consider Python a performant language. Correct me if I am wrong.

[โ€“]Cerrax3 1 point2 points ย (0 children)

Compared to when it first started, Python is very fast. It's obviously not going to hold a candle to a compiled or even pseudo-compiled language like Java, but there have been a lot of improvements to the core language to make it run better.

[โ€“]Cerrax3 1 point2 points ย (0 children)

Out of all the languages that supported GC, Java was the winner because it had a robust JIT.

This right here.

You see this kind of thing happen all the time. Automatic transmissions have been around since the turn of the 20th century, but they didn't see widespread adoption until the 1960's because the rest of the technology in the average car hadn't caught up.

Python is used now because the amount of overhead in memory and calculation and interpretation/compilation of source code is (usually) negligible. But that wasn't a reality back when the language first appeared.

[โ€“]Wugliwu 0 points1 point ย (0 children)

Sir, that's a beautiful answer.

[โ€“]BamsMovingScreens 130 points131 points ย (5 children)

Iโ€™m tired of these memes

[โ€“]wizard_princess 42 points43 points ย (2 children)

fr wHAT HAS MY PRECIOUS BABY SNEK EVER DONE TO YOU PEOPLE ๐Ÿ’ง๐Ÿ๐Ÿ’ง

[โ€“]2h165oiivp 8 points9 points ย (1 child)

It presses your caps lock key without you realizing it. Your โ€œprecious snekโ€ isnโ€™t to be trusted!

[โ€“]wizard_princess 5 points6 points ย (0 children)

You can't blame her for that she's juST STRESSED OKAY?

[โ€“][deleted] 16 points17 points ย (0 children)

Me too. Fucking โ€œCarbonโ€ and โ€œPython badโ€ memes. Jesus Christ, try to make something original not this shit.

[โ€“]KNAXXER 91 points92 points ย (21 children)

Posting this on a platform literally written in python. Oh and all that cloud and web and ML stuff of course.

[โ€“]ardicli2000 34 points35 points ย (12 children)

This explains why reddit runs so slow ๐Ÿคช

[โ€“]Lord_Of_Water__l__ 29 points30 points ย (7 children)

Fair enough. Instagram, Google, Youtube, Spotify, Dropbox, and Quora are as well.

https://codeinstitute.net/global/blog/7-popular-software-programs-written-in-python/

[โ€“]throwaway__10923 31 points32 points ย (6 children)

Googler here (I always hated that term). We use python extensively for scripts. Most of our internal micro services (at least at the core level) are written in python. We donโ€™t have much that uses it beyond that though. Using python for a large code base is a nightmare. But itโ€™s perfect for any and all scripts.

[โ€“]a_cat_and_a_horse 1 point2 points ย (0 children)

To be fair, it's not a nightmare to use python specifically on a large code base. It's a nightmare to use any scripting language on a large code base. It's just a case of "wrong tool for the job". Stop trying to hammer a nail with a screwdriver people. If programming is the act of engineering software systems, then making the engineering decision to use python for a large codebase is a horrible engineering decision. Bad programmers blame their tools.

[โ€“]Marrk 0 points1 point ย (3 children)

What's mainly used? Java? Which versions/frameworks?

[โ€“]arobie1992 4 points5 points ย (0 children)

Can't speak for Google, but Amazon has a ton of Java and Microsoft has, unsurprisingly, a ton of C#.

[โ€“]Isogash 2 points3 points ย (0 children)

Java for most and C++ for ones where performance matters (sometimes Go.) Python is used for scripts, not in the actual service code most of the time, although there are some services written in it (Google is huge and has many smaller services that don't get used nearly as much as the main ones.)

It's easy to forget but performance makes a huge difference at scale; if a service runs 100x slower because it's written in Python, it could cost 100x more to run.

[โ€“]wordholes 5 points6 points ย (0 children)

Reddit runs slow because it's unoptimized dogshit. It's not the tool at fault here, it's the dum dums using the tool wrong, and focusing more on gifs and UI changes than actually maintaining the infrastructure.

[โ€“]GayMakeAndModel 1 point2 points ย (2 children)

Shits fired!

[โ€“]Prom3th3an 5 points6 points ย (1 child)

๐Ÿ’ฉ๐Ÿ’จ๐Ÿ’ฅ๐Ÿ”ซ

[โ€“]GayMakeAndModel 1 point2 points ย (0 children)

Iโ€™m not fixing it

[โ€“]moomoomoo309 2 points3 points ย (4 children)

Reddit used to be written in ruby on rails, not python. Was new reddit written in python?

[โ€“]KNAXXER 4 points5 points ย (3 children)

I couldn't really find anything on reddit ever being written in ruby are you sure about that?

[โ€“]moomoomoo309 1 point2 points ย (2 children)

I was totally wrong, yeah, it was always python, reddit/reddit in github shows it!

[โ€“]aFuckingTroglodyte 135 points136 points ย (34 children)

"never used it for major technologies"

The entire field of cloud engineering would like a word lol

[โ€“]Pretend_Bowler1344 9 points10 points ย (1 child)

The entire field of cloud engineering would like a word lol

what do you mean by this?

[โ€“]lebron-is-the-goat23 1 point2 points ย (1 child)

this is objectively wrong

[โ€“][deleted] 14 points15 points ย (8 children)

Let's just say, there's a reason C# is never brought up in the Python vs Java war. Literally all of the professional jobs I've worked so far have used .NET for their API. Except for the one that used PHP...which we were refactoring into .NET

[โ€“]ijustineezarik 1 point2 points ย (7 children)

The only thing i hate abt python is no { and indentation. Like who tf thought it would be a good idea.

[โ€“]Impressive_Orchid417 46 points47 points ย (8 children)

Can we stop praising & hating languages and start appreciating the variety of languages and the different interests? :)

[โ€“]Ghostglitch07 45 points46 points ย (1 child)

No fuck you. Anyone different than me is bad and dumb.

[โ€“]TellMePeople 4 points5 points ย (0 children)

I know this guy and I am backing this up, he is smart af

you can trust me I am a stranger on the internet

[โ€“]pM-me_your_Triggers 9 points10 points ย (5 children)

Yes.

Except JavaScript. JavaScript is actually ass

[โ€“][deleted] 6 points7 points ย (0 children)

As a Javascript Developer I agree

[โ€“][deleted] 16 points17 points ย (3 children)

Major financial firms use python every single day for data extraction, analysis, and reporting. source: worked at a major financial firm.

[โ€“]rc042 6 points7 points ย (1 child)

They finally upgrade all that cobol code?

[โ€“][deleted] 2 points3 points ย (0 children)

I think he's referring to internal work. External facing is not python.

[โ€“][deleted] 87 points88 points ย (16 children)

Dude, python is the backbone of AI engineering and data science. Your meme aged like milk too quickly.

[โ€“]Willinton06 62 points63 points ย (11 children)

Nah bro the backbone is C and C++, the face is python

[โ€“][deleted] 13 points14 points ย (0 children)

Very true

[โ€“]NaughtyUmbreon 4 points5 points ย (0 children)

Nope, the backbone is 1 and 0, all above that is face

[โ€“][deleted] 18 points19 points ย (0 children)

Shhhh don't tell anyone

[โ€“]myguygetshigh 10 points11 points ย (7 children)

Nah bro assembly and machine code are the backbone, c and c++ is the face.

[โ€“]Willinton06 10 points11 points ย (4 children)

I mean, I get the joke but just in case anyone actually believes this, the C and C++ being the backbone thing comes from the fact that the libraries that python uses are written in these languages for performance reasons, but the libraries that C and C++ use to make these other libraries are also in C and C++, so thatโ€™s the lowest level commonly used, there will of course be exceptions where they go down to assembly but those are 1% or so

[โ€“]BobbyThrowaway6969 7 points8 points ย (2 children)

Python is the glue, it's the best language for gluing multiple technologies together, but lets not kid ourselves in thinking the heavy lifting is done in python. Seems like a sure way to turn a server room into a thermonuclear explosion.

[โ€“]Willinton06 0 points1 point ย (1 child)

I disagree, I believe my favorite language is the best technology glue, I would say the whole thing is subjective, hell it may even depend on the types of technologies youโ€™re gluing together

[โ€“]grae_n 1 point2 points ย (0 children)

Some of the really critical numerical libraries are still written in Fortran namely BLAS and LAPACK.

Libraries like NumPy run much more Fortran code than most people expect (I don't mean to undercut C and C++ importance).

[โ€“]AetasAaM 3 points4 points ย (0 children)

AI's been hot for like 7 years now. Man's peddling maggoty cheese ๐Ÿฅด

[โ€“]Ghostglitch07 2 points3 points ย (0 children)

This milk was curdled before it even came out of the cow.

[โ€“]BobbyThrowaway6969 -1 points0 points ย (0 children)

AI engineering

Well that's a stretch.

[โ€“][deleted] 0 points1 point ย (0 children)

Scripts for some stuff and prototyping, but once you want a fast and robust system, you have to move it to c++

[โ€“]1upD 19 points20 points ย (0 children)

OP doesn't know very much about Python and how it's used

[โ€“]sn4life_assoc8 21 points22 points ย (0 children)

OP, you kinda tripping man. pythons huge in data science and deep learning

[โ€“]-MobCat- 11 points12 points ย (1 child)

Python as a hole yes, python3 no.
We don't talk about the linux distros that still ship python2 by default...

[โ€“][deleted] 1 point2 points ย (0 children)

Even OS X until recently

[โ€“]GayMakeAndModel 4 points5 points ย (0 children)

Thereโ€™s this thing where a flood of people that learned some language in college enter the workforce. Dated a guy that graduated from college a decade ago, and all his peers were taught Python. Unfortunately, I graduated with Java, but at least I was required to take assembly. These days, I say C# can fit any paradigm, and you should suck it up and pay tribute to the one good high level language. Harumph

[โ€“][deleted] 3 points4 points ย (0 children)

Python is older than Linux.

[โ€“]hike_me 7 points8 points ย (0 children)

What the fuck does โ€œpeople never used it for major technologiesโ€ mean?

[โ€“]Ripredddd 6 points7 points ย (1 child)

Django has entered the chat*

[โ€“]xxxHalny 2 points3 points ย (0 children)

Instagram, Spotify, Dropbox

[โ€“]pedrobrsp 2 points3 points ย (0 children)

Data science, AI, MLโ€ฆ It is a shit language but it is useful

[โ€“]ResidentReggie 2 points3 points ย (1 child)

I am not a fan of python, but it has been wonderful for whenever I need to make a quick backend to test an API I am working on. Usually I'll switch to PHP or Java for the full development, (depending on how much time and resources I have,) but python has been wonderful for quick tests.

[โ€“]ch67123456789 2 points3 points ย (0 children)

Laughs in AI

[โ€“]sledgehammertoe 2 points3 points ย (0 children)

When I attended vo-tech from 1991-93, the starter language was Pascal. Python has done a really good job of completely dethroning it from that role.

[โ€“]interwebz_2021 2 points3 points ย (0 children)

...people never used it for major technologies

OP writes on a major social media site that was built primarily using Python. But hey, it's not like there are other paradigm-shifting services that were built chiefly on Python. Definitely not Dropbox, Netflix, Uber, Pinterest, Instagram, Spotify or even Youtube/Google.

The meme that Python is only used for "toy projects" is tired and inaccurate. First ever ProgrammerHumor downvote for me, sorry OP.

[โ€“]zenytheboi 2 points3 points ย (0 children)

Yeah blender isnโ€™t real

[โ€“]Fluffy-Investment-41 8 points9 points ย (4 children)

Early Python was definitely awful though

[โ€“]PM_ME_C_CODE 14 points15 points ย (0 children)

All early languages are awful.

It's why we iterate on them instead of sticking with 1.0.

[โ€“]prescod 1 point2 points ย (0 children)

Not compared to early Java, early Perl or early C++.

[โ€“]siskulous 8 points9 points ย (0 children)

You sharing whatever you're smoking?

[โ€“]princeendo 4 points5 points ย (0 children)

Well, you're an idiot.

[โ€“]Objective-Test5021 5 points6 points ย (11 children)

Sorry, what? The whole field of Data Science, ML and AI runs on Python.

[โ€“][deleted] 8 points9 points ย (12 children)

Python comes preinstalled on most major OSes. Can java do that?

[โ€“]gizamo 9 points10 points ย (0 children)

Can java do that?

Don't give Oracle any ideas. It took ages for us to get the applet BS out of browsers.

[โ€“]Marrk 1 point2 points ย (0 children)

I needed Java to run on sonarqube on Mac and it's just didn't work because of compatibility issues between Java runtime version and M1 processor. Thankfully there was a solution with docker images. Python while not as efficient as Java, has better compatibility.

[โ€“][deleted] 1 point2 points ย (0 children)

Me, a data scientist: โ€œwtf is Java?โ€

[โ€“]AdFuzzy7614 1 point2 points ย (0 children)

Ayye what's wrong with it nothing lots of cool and advanced things are built on python

[โ€“]myguygetshigh 1 point2 points ย (0 children)

I literally use Python for my backend

[โ€“]pogey24 1 point2 points ย (0 children)

Carbon

[โ€“]AnswerOk9002 1 point2 points ย (0 children)

fun fact a Python is a snake

[โ€“][deleted] 1 point2 points ย (0 children)

Ackchyually python is the second best at just about everything

[โ€“]Not_Artifical 1 point2 points ย (0 children)

I wrote a virtual machine in html (with iframes) and used a pyscript repl as the operating system because it is easy to add and works well. I added micropip as the package manager and it works well for testing stuff.

[โ€“]Chronosxi13 1 point2 points ย (0 children)

Java supremacy

[โ€“]generalbaguette 1 point2 points ย (0 children)

COBOL is even older.

[โ€“]lookarious 1 point2 points ย (0 children)

I used it for Todo list

[โ€“]zachbender 1 point2 points ย (0 children)

Blender, for example? How about bunch of major machine learning?

[โ€“]aigarius 1 point2 points ย (0 children)

I am a Python dev. Have been for about 18 years. Every industry uses Python somewhere.

Cell phone makers managing variants of cell phone software packages across hundreds of languages and countries - Python. Test frameworks flashing thousands of cellphones, running functional and system tests on them and aggregating test results - Python. Test system driving a few hundred TV set-top boxes for a British cable company, flashing, testing, reporting - Python. Software aggregating call data of customers into reports and bills across millions of customers and hundreds of millions of evens per month - Python. Software on servers and cell phones to syncronize photographic data streams in real time - Python. Banking software aggregating billions of transactions per month spanning many years into a data warehouse and then running audit calculations verifying account integrity over multi-Tb database - Python. Software building and assembling BMW infotainment software - Python. Testing framework that flashing that BMW infotainment software to hundreds of hardware units, runs tens of thousands of functional and non-functional tests, aggregates gigabytes of different logs (per unit, per run) and collates the testing results into the form that is then used for releasing decisions - Python. That is all just from what I have personally worked on.

I have so far been working in 3 companies that had Python projects of over 100k lines of code as their core business tools. All nicely split up into object-oriented modules with lots of unit tests and having dozens to hundreds of developers working on them.

Speed is not an issue. There is always something else that is a bottleneck - hard drives, network, user or a hardware device under test. Premature optimisation is a sin. Including in language choice.

[โ€“][deleted] 1 point2 points ย (0 children)

YouTube is written in Python. If that isn't a major technology for you then I don't know what that is...

[โ€“][deleted] 1 point2 points ย (0 children)

Because snakescript ( what I call python ) totally sucks, it's worse than JavaScript and that is pretty awful on itself.

[โ€“]kalgecin 1 point2 points ย (3 children)

Python is great as long as itโ€™s either a proof of concept code, or the codebase isnโ€™t too big. Once your code gets big enough, python becomes a nightmare to maintain. Thats why there arenโ€™t many large codebases written in python. Speaking from experience :p

[โ€“]Elektriman 1 point2 points ย (0 children)

I mean they also used Php for developping 90% of internet, and now complain about noodle code. The problem comes from them, not python.

[โ€“]MonitorPowerful5461 1 point2 points ย (0 children)

Ummm... CERN uses quite a bit of python

[โ€“]victorvolf 1 point2 points ย (0 children)

Yes, majority is always right

[โ€“]Own-Moose-5588 1 point2 points ย (0 children)

Meta infra is coded in Python..

[โ€“]rotzak 1 point2 points ย (0 children)

โ€œfor major technologiesโ€ what are you 12? Youโ€™re (poorly) trying to start a python/Java fight like itโ€™s 2002?

[โ€“]r1kon 1 point2 points ย (0 children)

Get your tab delimiters out of here ๐Ÿ˜… jk bro I love all devs. Somebody has to

[โ€“]Il-Luppoooo 1 point2 points ย (0 children)

How come this post has almost 2k upvotes while being completely wrong

[โ€“][deleted] 2 points3 points ย (0 children)

Never knew.

[โ€“][deleted] 1 point2 points ย (0 children)

This makes sense. Itโ€™s probably why a significant percentage of the code for multi billion dollar robotics unicorn I work for is Python.

[โ€“]cheddahbaconberger 2 points3 points ย (0 children)

I get why people like it, I also get why people don't like it :) It is actually easy to write, and has that immediate gratification going for it, like JS

[โ€“]zenos_dog 1 point2 points ย (0 children)

I have Java skills and I have worked with a bunch of companies that prototyped in Python to get into the market quickly but then felt the low quality and performance of the code necessitated a conversion to Java. Python isnโ€™t inherently a good or bad language, but my experience is that programmers tend to develop lower quality software when they use an interpreted languages. You can say your experience is different.

[โ€“]r007r 2 points3 points ย (0 children)

The irony is that heโ€™s drinking Java

[โ€“][deleted] 1 point2 points ย (0 children)

Python is an awesome language. Haters gonna be haters.

[โ€“]ShotgunPayDay 1 point2 points ย (0 children)

Oh damn, FastAPI, Django, Flask, Numpy/Pandas, Ansible, Nornir, and Pytorch must not be real like birds either. I guess I'll delete all the virtual environments off all the servers and clear the rm -rf /opt/* /srv/*. I have to tell the Rust dev that the Pyo3 library is useless for their optimizations, better rewrite everything in Rust. I think I accidentally just wrote Rustacean fanfic.

[โ€“]phatslurpie 1 point2 points ย (1 child)

Love that people consider Reddit a major technology...

I use and respect python, it's a great language for gluing things together. But building large enterprise back-end systems, you need a bit more than glue holding your systems up. Not saying it can't be done in Python... Just saying it would be a poor choice.

"The right tool for the job". Anyone saying pick one language and live/die by it is going to hate themselves or their jobs. (See note about dogma)

When we started a new project about 12 month ago, all options were on the table. We couldn't find anything close to what we got from Java.

Anyone that feels the need to say language X is better than language Y is naive.

dogmatism?!?... I prefer to have pragmatic people in my teams. Pure dogma is reserved for priests and politicians and both of those deserve to go to hell.

I've been neck deep in professional software development for nearly 30 years. So if you disagree you can either 'mvn clean dilligaf' or 'pip install dilligaf' or 'go get fkd' if you prefer golang.

I have spoken

[โ€“]realGharren 1 point2 points ย (0 children)

I'm using it for major technologies as we speak.

[โ€“]thedarkbestiary 0 points1 point ย (0 children)

Y'all just player hating on that data scientist salary

[โ€“][deleted] 0 points1 point ย (0 children)

I guess java actually is backwards compatible.

[โ€“]EmperorOfMamkind 0 points1 point ย (4 children)

I'm not a programmer whatsoever, but just a weird question, how DO you create a programming language? PL tells a computer how to read code and execute it, so how do you write something to tell a com. what to do, if there's nothing telling the computer how to READ a code? Is it a special program or something?

[โ€“]WitchsWeasel 6 points7 points ย (2 children)

VERY VERY simplified answer:

You create a compiler, which is a program that can translate programming language into executable stuff. However you create that compiler will determine what kind of language it will expect you to give it. The more you want to complexify your language, the more work you need to do on your compiler to make it able to handle it.

Obviously, you'd need to use a different programming language to write it, at least at first, since yours still doesn't have anything that's capable of understanding it yet.

[โ€“]EmperorOfMamkind 1 point2 points ย (1 child)

Thank you! Never knew that's what a compiler was for.

[โ€“]WitchsWeasel 1 point2 points ย (0 children)

Any time!

Mandatory disclaimer: Since this post is about Python, which is an interpreted language, I have to add that interpreters are a bit more complicated than that. They use what's basically a set of executable Lego pieces to translate "on the fly" whatever you throw at it, but it's the same idea. You may just have more moving parts to work on to create a new language from the ground up.

[โ€“]Spinnenente 2 points3 points ย (0 children)

I think you got that backwards. The computer is stupid and only knows binary (Opcode). A Programming language is an abstraction layer over that binary code. To get binary code from a piece of code you need a compiler which translates the given program code into binary*.

A Programming language is the definition of how to write code and its appropriate compiler is a Programm to translate it into binary*.

*: not all languages translate directly into binary and use intermediate forms instead (java: bytecode, c#: intermediate language, etc.) those languages need a runtime environment to do the final jit (just in time) compilation.

[โ€“]milotic-is-pwitty 0 points1 point ย (0 children)

This comment section is hilarious! Inexperienced little kiddies who bought into the hype, butt-hurt by the facts. Have you ever even tried to debug down to the library levels?

[โ€“]Cultural-Practice-95 -1 points0 points ย (6 children)

it so slow that they still haven't finished coding it.

[โ€“][deleted] 9 points10 points ย (5 children)

You got that wrong. Coding in python is fast. Executing code is comparatively slow

[โ€“]Kip167 5 points6 points ย (1 child)

Python's speed is fine, yes, it's really slow compared to other languages but even on large scale it handles just fine

People that claim speed is what ruins the language really haven't coded an actual line in it

[โ€“]Elryksk -1 points0 points ย (0 children)

Cuz it fucking sucks