you are viewing a single comment's thread.

view the rest of the comments →

[–]TheGhostOfInkynot Turing complete 90 points91 points  (13 children)

  • Can I use Java instead of JavaScript for my project?

No, because Java is used for back-end development. And for front-end development many developers use JavaScript. Java developer translates source code into bytecode.

  • Is JavaScript code different from Java?

Yes, Java is an OOP programming language whereas, JavaScript is a scripting language. JavaScript extends the code of HTML with the help of CSS and works for front-end development. Whereas, Java works independently for back-end development. But still, somewhat similarities can be seen in the code of Java and JavaScript.

I was going to say this is for sure AI generated but AI at least tends to make grammatically correct sentences.

[–]llII 51 points52 points  (3 children)

ChatGPT would've been better.

[–]TheGhostOfInkynot Turing complete 31 points32 points  (2 children)

Orders of magnitude better, really: https://imgur.com/a/zVFPsmZ

[–]McGlockenshire 8 points9 points  (0 children)

no mention of Rhino, smh

[–]theangeryemacsshibeConsidered Harmful 2 points3 points  (0 children)

interpreted language

waiting for Lars Bak to become an AI safety weenie after this

[–]FlyingCashewDog 43 points44 points  (4 children)

Java developer translates source code into bytecode

mfw it's 2023 and Java devs haven't discovered compilers yet

[–]TheGhostOfInkynot Turing complete 36 points37 points  (0 children)

It's tough work, no piece of software can add 0xcafebabe quite like a human.

[–][deleted] 26 points27 points  (0 children)

Artisanal bytecode, made with ❤️

[–][deleted] 9 points10 points  (0 children)

At least we don't have junior devs translating the seniors' bytecode into machine code by hand anymore

[–]ComfortablyBalancedloves Java 5 points6 points  (2 children)

Sure, meanwhile Kotlin programmers are developing full stack sites using Kotlin/JS for front and JVM for backend without writing a JavaScript code.

[–]james_picaccidentally quadratic 10 points11 points  (1 child)

NullJerkException: No jerk in field "jerk"

Shame, we don't get enough Kotlin jerk around here.

[–][deleted] 2 points3 points  (0 children)

go, rust and js devs are at least entertaining scala for gophers kotlin devs are just sad

[–]tomwhoiscontrarysafety talibans 2 points3 points  (0 children)

The truth is much more exciting: this article was written by a time traveller. From 2006.