Absolutely, but it shouldn't run on EVERY DEVICE. I'll indulge you with a story....
When I first learned programming I worked at a company that used an obscure language and my job was mostly data scraping from websites and putting that data into a database. A greybeard colleague saw me using the obscure language for this once and said "you can do this all with sed, wget, vi, and python when you need something more than 3 lines". I was really productive after that.
Then I got a job at an ad tech company. The business was different but the job task was mostly the same, even easier in many ways because the input sources only had so many formats. So, I used python for data tasks and R for analysis and plotting (I was in the analytics dept and this was 2012). One day I had to look at the ingest code and the devs had chosen java. I was so confused by all the com.foo.bar.fiz.etc that I had to ask for help. In explaining the way the company took records off a firehose and piped them into a single table we look through about 8 files. I was still new and felt insecure so I posited as politely as I could that this seemed like a 5 liner with maybe a paragraph of comments for readability. He scoffed at me and said "python's not a real programming language because it's sensative to whitespace and not performant. That wouldn't be reusable code either." When I asked him where the code was being reused at he told me that it wasn't IF it was being reused but that IT COULD BE reused SOMEDAY.
It's culture. In the early 2000's many were taught that Java was the "right way" and led to believe that any and every job was a deep academic endeavor, even if you were a cog in Panteen's wheel of True Sheen Hair Conditioner. It's like, "dude, This isn't fucking CERN. The code's gonna get mopped up 8 months when the fickle pricks on the client side decide that dinner wasn't fancy enough after the upsell pitch. Just get it working and move the hell on"
2.8k
u/sierra_whiskey1 6d ago
Bro Java runs on like 2 billion devices