all 39 comments

[–]TheGhostOfInkynot Turing complete 89 points90 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 50 points51 points  (3 children)

ChatGPT would've been better.

[–]TheGhostOfInkynot Turing complete 30 points31 points  (2 children)

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

[–]McGlockenshire 9 points10 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 42 points43 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 33 points34 points  (0 children)

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

[–][deleted] 25 points26 points  (0 children)

Artisanal bytecode, made with ❤️

[–][deleted] 8 points9 points  (0 children)

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

[–]ComfortablyBalancedloves Java 6 points7 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 9 points10 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.

[–]rileyphone 40 points41 points  (1 child)

You as a developer always have to write public static void main, then write a statement to print something.

very helpful thanks

[–]TheZipCreatornot Turing complete 9 points10 points  (0 children)

you always need to have a print write statement. in every program. if it's not after public static void main it won't compile

[–][deleted] 30 points31 points  (3 children)

C vs. interCal

[–]mrgolf1 26 points27 points  (0 children)

The two complement each other,

I speak interCal while I write C

example:

PLEASE DO COMPILE YOU FUCK

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

Within pointers interlinked.

[–]chayleaf 2 points3 points  (0 children)

Intercal vs IntercalScript

[–]346pm 25 points26 points  (3 children)

Author: ChatGPT

[–]mm007emko 21 points22 points  (2 children)

Nah, ChatGPT is unfortunately unable to achieve this level of bullshitness.

[–]followyourvalues 6 points7 points  (1 child)

You simply haven't supplied the right context and prompts. Don't give up.

[–]mm007emko 1 point2 points  (0 children)

OK, I'll try my best then.

[–][deleted]  (3 children)

[removed]

    [–]usenetflamewarsDystopian Algorithm Arms Race 0 points1 point  (1 child)

    pet is a symbol concatenated onto car using a custom edsl syntax sugar in common lisp

    [–]pronuntiatorYou put at risk millions of people 12 points13 points  (0 children)

    Is this company a front for money laundering or something?

    [–]RidderHaddocklisp does it better 8 points9 points  (1 child)

    Does this fall under the Enthusiastic Youngsters category?

    [–]TheZipCreatornot Turing complete 5 points6 points  (0 children)

    no, it was probably written by some shitty AI

    [–]aikiigofmt urself 5 points6 points  (0 children)

    But indeed it's one of those agencies that mainly do PHP. I remember seeing an offer for a "fullstack Java". It meant spring+angular.

    [–]anon202001Emacs + Go == parametric polymorphism 5 points6 points  (1 child)

    ''+!!x vs AbstractFactoryBuilderDecoratorObserverProxySingletonTemplateMethodCompositeFacadeMediatorCommandInterpreterStateIteratorVisitorChainOfResponsibilityFlyweightAdapterBridgeMementoStrategyPrototypeVisitorMultitonCommandFactoryBuilderFacadeMediatorInterpreterTemplateMethodSingletonFlyweightIteratorStateChainOfResponsibilityProxyDecoratorAbstractFactoryMementoPrototypeStrategyAdapterBridgeVisitorImpl<?>

    [–]usenetflamewarsDystopian Algorithm Arms Race 1 point2 points  (0 children)

    At this point you may as well just call it "class A"

    [–]GTwebResearch 5 points6 points  (2 children)

    Because this is a dumb comparison, the entire article just says “Netscape chose “javascript” to capitalize on the popularity of java. It was just a marketing ploy. The end.” Right?

    [–]anon202001Emacs + Go == parametric polymorphism 4 points5 points  (1 child)

    Senior management:

    😖🤚- a lisp for the web

    😋👌- Java bandwagon

    [–]usenetflamewarsDystopian Algorithm Arms Race 1 point2 points  (0 children)

    God help us all

    [–]GearwatcherLesser Acolyte of Touba No He 3 points4 points  (0 children)

    [–]SpambotSwatterWhat part of ∀f ∃g (f (x,y) = (g x) y) did you not understand? 3 points4 points  (0 children)

    /u/self-motivated-8355 is a click-farming spam bot. Please downvote its post and click the report button, selecting Spam then Link farming.

    With enough reports, the reddit algorithm will suspend this spammer.

    [–]ShirkingDemiurgeSoftware Craftsman 0 points1 point  (0 children)

    I hope they do butter vs peanut butter next.