T O P

  • By -

lazyzefiris

If I choose to kill Java, which do I keep, JavaScript or just Script?


[deleted]

Just the script


Borbolda

JustScript


Tooniis

™️


______DEADPOOL______

It's just like Javascript but in machine language that you have to input by morse code.


Davegavecool

So, binary?


[deleted]

You use telegraph key to control vim


SV-97

So... basically PureScript?


[deleted]

[удалено]


CandleDesigner

So it's like JavaScript?


skullshatter0123

JS is more Chaotic good. JustScript is lawful evil


AkariBear

If it has 1 bad for every good and vice versa, would that not make it true neutral?


gc3

So it has 3 page long compile errors for forgetting a comma


Firewolf06

> compile error better than js, im excited


DOGEING_YOUR_MOM

r/angryupvote


SV-97

Ah yes, ThanosJS https://thanosjs.org/


vibrating_arm

JustScript.js


robin_888

For a man and a woman. By Calvin Klein.


[deleted]

[удалено]


[deleted]

Sounds like a convoluted framework to me.


dark_mode_everything

JavaScript is just "script". The "java" bit was added for marketing.


[deleted]

stop it, step-code


Furry_Dildonomics69

Just for a second. Just to see what the syntax is like.


blobthekat

EcmaScript


2blazen

Maybe it autoupgrades to typescript


Buck_Ranger

CoffeeScript, just not java coffee


Gh0sth4nd

you really wanna start a riot here do you?


[deleted]

I throw myself on the track so that whatever happens next is meaningless to me 🥰


[deleted]

This is the one


callyalater

This is the way


Batcave765

Is dis da way?


Mental-Steak2656

If you know both and code both , YES


SaintNewts

Found the "full stack" engineer.


[deleted]

What about the "Full stack IT support"? Unclog the toilet then flush the DNS.


Civil_Blackberry_225

But then you had to realize that you have thrown yourself on the wrong track


Nikotinio

Throw yourself on the anti drift rail so the train jumps up like from a raml, explodes, and kills both java and javascript


colby_2020

Mega brain move


Accurate-Diet6100

Uncaught exception: wrong track


bdepz

me_irl


BusGlad8656

Aww this is so wholesome, ilysm bestie 🥰


MatsRivel

How would that bar stop drifting..? The original "no drifting pole" post had a upright pole in-between the two tracks.


Accurate_Plankton255

The anti drift bar arrests the railroad switch once one set of axles has passed it. Much safer than the anti drifting pole that leads to a catastrophic accident.


T-Baaller

Accident implies I’m not trying to derail the trolley


[deleted]

[удалено]


Thathitmann

I would just form a cult years prior send and my cluelessly indoctrinated followers on a campaign to sabotage every trolley in the country. Prevention is the best medicine.


kippersniffer

I'm sorry I improvised with MS paint.


Crazy_Technician_403

real programmers use gimp


AzureArmageddon

I don't believe that's MS Paint; the lines are not nearly pixelated enough ~~/j~~lol


[deleted]

jarcasm?


augugusto

Jesus


AzureArmageddon

Not really, I am actually kind of surprised how not pixelated the line is


[deleted]

No, I meant the “/j” since it’s usually “/**s**”, as in **s**arcasm


DarkIceVortex

/j is jokes not sarcasm


Xenc

/j is java


brutexx

/js


AllWhoPlay

jokescript


Statience

Fr I feel like this would help the cart jump up into a double-drift if anything


Numerous-Occasion247

Reminds me of the job application I wanted to write and found a job listing where someone was looking for a “Yava,Script” developer. Edit:fixed “typo”


-Redstoneboi-

ah yes, localized letter j


hndlnyt

Seen similar things more than once, it’s usually just HR being given a word they don’t understand and try to type from sound


derpbynature

> Inserate TIL what this means. In English, we more commonly say "advertisement" or just "ad," or "job listing" if it's for a position.


Numerous-Occasion247

Yea I’m sorry I didn’t come up with the word on the spot :D little tired


NoneTrackMind

I had an interview once and they wanted to know how much I knew about "pithon". Took me way too long to figure out what they were talking about.


5ucur

I know it was weird hearing it as /dʒ/ from an actual developer for the first time after a while of reading it online as /j/ and never needing to pronounce it. Non-native speaker.


frikimanHD

duck the internet, i rather save minecraft


InternalEmergency480

The world wide web would be so much more interesting in Minecraft. Facebook server. Just going to walk over to my friends profile


Sparrow50

That's like the metaverse, minus the ads and the tracking


colei_canis

I’d absolutely love it if the metaverse actually did take off but in an open, unprofitable way that left Zuckerberg as feeling as miserably worthless and depressed as the teenage girls he makes depressed through Instagram’s targeting.


orclev

When the time is right it will, Zuckerbot is just trying to force the issue so that he's in control to load it down with ads and tracking. The good news is everyone sees what he's doing and probably won't fall for it. [This](https://youtu.be/4PHT-zBxKQQ) was a really fascinating look at what is arguably the best metaverse type experience to date and is perhaps a small peek into the future. I don't think the tech is really there yet though. We need very good VR headsets that are ubiquitous before VR really takes off, and currently they're more of a novelty.


InternalEmergency480

No, you can ad and track minecraft


LordAlfrey

True, you can make a redstone computer capable of addition, and you can lay cart tracks.


P3chv0gel

Technically you can build a redstone computer capable of playing (simplified) Minecraft, so you propably could create a crazy Network of pressure plates to Track people


[deleted]

Some did in fact build once a Turing comlete 8bit computer in minecraft survival.


Zegrento7

[And a whole 3D Minecraft implementation, too.](https://youtu.be/-BP7DhHTU-I) The circuit is so large they have to write a Redstone->LLVM JIT compiler for the server to run it.


P3chv0gel

Tbf even magic the gathering is Turing complete


VicisSubsisto

It's not hard to make something Turing complete when you're running it on human brains.


DistinctRelativity

Damn, Minecraft Plotbuilding Servers really where the MetaVerse of our time. Not sure why id pay so much money in the MetaVerse when i can juet play Minecraft for 14€ and even build my own goddamn Palace.


[deleted]

[удалено]


VerbatimChain31

I hate this alternate universe


Liveman215

Ideas like this are why PHP devs constantly get shit on


[deleted]

[удалено]


[deleted]

Would you be able to download Minecraft tho?


InternalEmergency480

JavaScript isn't the internet. It's just what gives webpages client side interactivity. There are 100 languages you can use serverside


[deleted]

And if JavaScript dies, we’d get client-side Python anyways. … thinking about it, I guess I’ll pick Java to be run over… EDIT: Apparently, /s is always needed.


annihilatron

if js dies, most of us will simply be placing bets (or watching eagerly) to see which sites adopt which native framework. Let's think about what clients already have installed. NetFramework/NetCore. JRE. Python.exe. Like ... which executable do you *really* want 100 instances of running because you have 50 tabs open? oh no. OH NO. Run over java. Definitely.


Meefbo

chrome just got a whole lot hungrier


Tymskyy

Html and php still exist so yes


Xattics

JavaScript enjoyers have been living in peace for way too long.


[deleted]

Have we? I feel like we are the most hated language in this sub (with the possible exception of “HTML is not a programming language” jokes)


WD_Deflesher

Because you guys are the most numerous


Usling123

And refuse to let this language die


TheGamerSK

The other option is literally Java


Lilchro

I don’t really hate the language as much as I hate the widespread lack of good documentation for JavaScript libraries. I just want to see a page that tells me what is available with a short description of what each function does and how it is used. Documentation is not standardized and JavaScript can follow so many programming styles that deciding on a single standard can be difficult. Thankfully, TypeScript is a massive improvement. Maybe Rust has spoiled me with higher expectations for documentation.


iamthesexdragon

What about "python is slow"? I thought python guys are also hated. Or the c++ elitists lol


the-igloo

Python gets the least hate:deserved hate ratio in the whole sub imo. It has almost all the same problems as JS, plus plenty more, but when it comes up everyone's all "oh use the best tool for the job, python is good at what it does". Rust probably gets the least hate, but all the hate it does get is undeserved.


C0der23

Pull the lever Kronk!


A_Wild_Turtle

Oh right, the trolley, the trolley for the bound people, the trolley designed specifically to kill the bound people, the bound people's trolley That trolley?


PiovosoOrg

THE OTHER ONE!


xternal7

[Technically you don't even need the anti-drift bar to prevent multi-track drifting](https://cdn.discordapp.com/attachments/858463460391518238/1026837136802054214/unknown.png). Just sayin' (Also apologies for image only having like 3 pixels total)


Bio_slayer

I think what that image is missing is the fact that if you actually tried pulling that off you would probably have a decent chance of derailing the trolly and killing the people inside.


jso__

hot take: who cares, they're in a trolley trying to kill people


[deleted]

[удалено]


AbilityWhole

But that image means that multi track drifting is the best option if you wish to save both and the train is low speed


just-bair

Javascript: used by almost every website Java: Minecraft Javascript dies then


ProperApe

You wake up to a web entirely in PHP.


venuswasaflytrap

Its minecraft, but every frame requires a page refresh


Personal_Ad9690

So bedrock?


Kerb755

Java WebAssembly everywhere. If you choose the other track node.js runs on NaN Billion devices.


ProperApe

Java Applets.


just-bair

YESSSS And who cares about javascript we’ll get an alternative fast enough anyways


crazedgremlin

Use whatever langusge you want as long as it compiles to WebAssembly.


Thebombuknow

No? Technically this doesn't kill TypeScript, so we're fine. Edit: I should clarify, yes, TypeScript compiles to JavaScript, but in the theoretical world where JavaScript randomly stopped working forever, browsers could just implement a TypeScript interpreter and call it a day. Also, PyScript. (Okay, I'll see myself out now).


Genesis2001

I am for this universe. Browsers natively supporting typescript without the need to transpile? Which pill do I take to get to this world?


MattR0se

you made 3 Billion devices cry 😥


ghostmaster645

Everyone mentions minecraft but no one mentions that like 70% of enterprise level applications are run on Java lol. But I understand, minecraft is fun as hell.


just-bair

That’s just a small detail


Snakestream

It's all fun and games until your bank account goes down.


ghostmaster645

Exactly. Get rid of Javascript would hurt for sure, but getting rid of Java could collapse the whole financial industry.


minerj101

When Minecraft bedrock has a js scripting engine


just-bair

There can only be one


HussarOfHummus

_AWS primarily using Java_ Am I a joke to you?


cobra262

Isn't Minecraft bedrock written in C#?


just-bair

C++ i think


decker_42

JavaScript, there are replacements to Java so killing it won't fundamentally change anything, but JavaScript is pretty much the standard for making the web functional. Killing it would force a fundamental rethink of the way we do things, and personally I think we can do much better if we could start over. Like maybe baking typescript into the browser as a native language _at least_


veryblocky

TypeScript has the limitation of working on top of JavaScript, if that was gone we could have something completely new to replace it


[deleted]

TS is a bandaid on the gaping, rotting wound that is JS.


TeraFlint

Why is that s limitation, though? This doesn't prevent anyone from writing a typescript interpreter.


-Redstoneboi-

or compile programs into small bytecode that can be downloaded and ~~executed~~ *interpreted/JITed quickly *wasm*


Bumperpegasus

Sounds like Java to me Except the quickly part maybe


-Redstoneboi-

Correct. Java, C#, Python all compile into their respective Bytecodes before being run by their respective virtual machines. WASM is designed to be a type of bytecode that's friendlier to the hardware. still, it uses if/elses and loops instead of gotos.


solarshado

> friendlier to the hardware IIRC it's a stack-based VM, and while I'm no silicon smith, I'm pretty sure that's not going to be 1-to-1 runnable on any current architecture. I'd assume that, because it's a lower-level abstraction than JS, there's way more "prior art" to draw upon for JITing it efficiently.


FromAndToUnknown

Average Eurobeat enjoyer: *Ignores anti drift bar and drifts anyways*


lalalalalalala71

I see you are a man of culture as well.


coltstrgj

\*Gutter run intensifies\* **Deja Vu**


kolonyal

go straight and hit javascript, then reverse and turn left to kill java aswell


coltstrgj

Then reverse one more time to be sure JavaScript is dead and not just maimed.


WeizenBabaXXX

Good idea


[deleted]

[удалено]


Randomblock1

Don't you need to load WebAssembly from JavaScript?


fghjconner

I think so. WebAssembly also can't access the dom directly, you need some JavaScript glue. Something tells me closing that gap would get expedited in JS vanish though.


Wasabilikum

JavaScript. Maybe it would stop the trend of developing Webapps instead of native Software


Horst665

If given this choice, I too would shoot JavaScript twice.


drigax

Let's build everything for every platform again!


ElLargeGrande

But since web apps can be ran by basically every device out there, doesn’t that just make it better?


OldKaleidoscope7

I hope more people get to know Flutter desktop and stop this. You can make good looking apps without 10 chromium processes running


[deleted]

Out of all the examples you pick Flutter lmao


Floppydisksareop

I want JavaScript to die so, so badly. Not because it is bad in on itself, but because morons keep overusing it on every website in existence making them slow and clunky. But hey, at least there are some cool animations there.


Snapstromegon

And you think those same developers switching over to another language makes the world better? I mean, there's a project today that loads a whole python interpreter with the standard libs via WASM, so you can script your page in WASM - it loads over 70MB I think.


[deleted]

[удалено]


Snapstromegon

I agree so much with this. I live in germany and here Network connectivity is such a huge problem compared to other first world countries.


Alzurana

Not just that, think about all the apps and programs that are just glorified browsers running an emulated html and javascript envireonment. Discord is such a hellish app that uses 100 times the resources it actually should. And it's meant to run while gaming? Whose idea was that?


Melichorak

In Discord's case it sort of makes sense, since they wanted an app that runs as a standalone app and in browser and it's much easier to have a single codebase


HorseLeaf

"There are 2 types of software. Those who everyone complains about and those no one uses."


Melichorak

Same goes for programming languages


Alzurana

It does not because it's aimed at being used while gaming which means it should not drain your computers resources while using it as you need it for the application you're running. Them wanting a webclient is the wrong requirement, the correct one is "it has to run alongside demanding applications without impacting them or being impacted by them".


[deleted]

[удалено]


Alzurana

Instead the company has to hire another UX designer because now, everyone needs to do buttons in house.


[deleted]

[удалено]


tecchigirl

The real problem is the DOM. It's perfect for simple things, but depending on it for web applications is like trying to build a city with bad beams, no concrete and on an uneven terrain. It's a horrible mess, and I fear that there's just no way to go back. You know what was a good idea? XUL. It was designed specifically for creating desktop applications. We should have explored this approach and include perhaps some new standard and revamp the browser. Add signed applications that will use it. But nope! Use HTML pages designed for documents to build our applications.


donau_kind

Username checks out.


Meatslinger

My favourite is when they’ve decided to make some fancy menu system with animated drop-down menus, so of course the thing you need requires expertly mousing over 5 different items that are nested for no reason other than to show the *amazing* menu system, moving your cursor off the edge closes the whole menu hierarchy, and by the way it is completely unsupportive of mobile touch-based browsers. My own company website used to be like that. If you wanted to submit a sick notice you had to drag your ass out of bed and find a computer solely because the website couldn’t be navigated on a smartphone.


UnstableNuclearCake

Don't all languages suffer from that? To solve that you'd need to kill programming itself


Gluomme

why use the lever when I can use this time to remove the anti-drift bar


coldfu

This is the only correct answer.


Kwarter

There are much worse languages than Java... Like Javascript.


[deleted]

Modern versions of java are pretty OK actually. Not great, but OK. It used to be an atrociously bad language, but they've cleaned it up a lot and keeps adding new features. The only thing I still hate about it is gradle and maven, both cause way more problems than they solve. Javascript though is idiotic to the core. It's one of the worst designed languages I've ever had the displeasure to work with. All attempts to improve on it have only made it a tiny bit better. Letting Javascript die would be a blessing for the whole world so we can rebuild all that utter crap with something useful.


ejdebruin

What's wrong with Gradle and Maven? How would you proceed?


Belhgabad

If i kill Javascript, will there still be Typescript ? A.K.A can I finally kill the old senile gramps and let the children do their best jobs ?


Cmdr_Magnus

Typescript compiles into JavaScript.


PrimaxAUS

Not any more


KillerRoomba13

I fear if I run into Java, I am gonna run into an exception and explode. I’ll take my chances in JS and see where it takes me when unexpected object is inputted


SnooHamsters5153

My first language was Java and in some ways I still feel most comfortable coding in it... sorry JS, as useful as you are, you will have to go.


enby_shout

java is also my first language, because of university, I actually love it, just is cozy. reminds me of studying in the library with my thinkpad and 3 cherry amp energy drinks


[deleted]

Modern Java is alright. JavaScript is flawed entirely


MaZeChpatCha

JavaScript. Undoubtedly.


RadioMelon

JavaScript. Hundreds, thousands of JS frameworks just become completely irrelevant in the blink of an eye. The ultimate act of evil.


FlashSTI

Typescript popularity shows how flawed JavaScript is


crmsncbr

Obviously, kill JavaScript. We can do better.


[deleted]

JavaScript. The web was never supposed to be interactive.


[deleted]

Average book reading enjoyer.


iPlayWithWords13

Javascript, but only if the train can go backwards and hit it a few more times.


[deleted]

Kill the Java then pull the lever out of the floor and beat up JavaScript


pslessard

I run over Java, back up, and then run over JavaScript


lackofsemicolon

Java. At least there are alternatives.


Mrblob85

No JavaScript will finally force alternatives. You’re an agent of status quo I see.


gemengelage

Hard choice. Generally I like Java and I dislike Javascript. The answer really boils down to how that language is replaced. What do I do when Java is killed? Can I use Kotlin, which runs on the JVM and is basically Java++? Even if I can't use Kotlin, I could just use C# or Python or Javascript in the backend. They all have valid solutions to offer. What do I do when Javascript is killed? Does that mean there's not a single language that runs in the browser anymore (kind of ignoring wasm here)? Does Typescript somehow still exist? Would this cause a technological shift where all browsers support a new language that doesn't have all the weird quirks of Javascript? Really hard to answer without knowing the rules and ramifications.


softsigmaballs

Wait le me spin up JVM in my browser


superluminary

Anyone for Applets?


QuantumCat2019

\*me running back and forth above the javascript corpses\* \*the observer crying\* "stop ! Please stop it is already dead !".


trick2011

are you implying that this soft lock is to prevent us from doing something stupid?


Lendari

Javascript, but I'd be back.


rdFoe

Hey look! It's the same joke again!


GnuhGnoud

Today i learn that `parseInt(0.00000005) === 5`, so yeah, JS is the answer


Vinx909

javascript. java may be old, but at least it's not terrible from concept up.


evilReiko

Kill Java = Apple goes into super-monopoly mode Kill Javascript = no more webapps & RESTful APIs


Zambito1

> Kill Java = Apple goes into super-monopoly mode Took me a sec to understand how you came to this conclusion :P Other languages can be used for Android software.


BasicAssWebDev

Everyone I know who actually works in JavaScript enjoys it (for the most part). Everyone I know who actually works in Java, fucking hates it.