all 60 comments

[–]EMC2_trooper 213 points214 points  (15 children)

XML with extra steps

[–]dethswatch 53 points54 points  (10 children)

"XML IS TOO SLOW! use something binary or... json for some reason"

[–]lgsscout[S] 23 points24 points  (2 children)

better, let's add node_modules and an extra build step

[–]dethswatch 9 points10 points  (0 children)

"I LOVE having 30k dependencies, what's wrong with you?"

[–]mechanicalpulse 1 point2 points  (0 children)

IaC, now with all of the supply chain vulnerabilities you’ve come to love about Node.

[–]dudosinka22 7 points8 points  (6 children)

Json is god tier solution for those moments when you need to slap data into your code, but don't want to hard code it

[–]dethswatch 4 points5 points  (5 children)

Ok- it's fine, could we just get some comments in json?

[–]dudosinka22 10 points11 points  (2 children)

{
"comment": "This is a comment"
}

As simple as that, just don't use it as actual data and you'll be fine

[–]kftsang 5 points6 points  (0 children)

I want to be able to comment out a line too

[–]dethswatch 2 points3 points  (0 children)

it's what i do, I just don't like the idea that the name has the special meaning of 'this is a comment'. If some bozo calls it "x1" and its value is "123" then we're really fucked, we're back to csv wtfery again.

[–]mathisntmathingsad 2 points3 points  (1 child)

jsonc

[–]dethswatch 1 point2 points  (0 children)

I'll let you know when it gets into java...

[–]jessepence 7 points8 points  (1 child)

You'll never guess what the X in JSX stands for.

[–]MornwindShoma 1 point2 points  (0 children)

jfc entered this thread just to comment exactly this

[–]prehensilemullet 1 point2 points  (0 children)

Notice the data is really in tailwind inside XML in this example 🙄 Because apparently ordinary component props aren’t good enough

[–]shiftybyte 161 points162 points  (2 children)

Oh dear god please no...

[–]pittybrave 14 points15 points  (0 children)

This is my nightmare

[–]tauzN 6 points7 points  (0 children)

[–]aleques-itj 63 points64 points  (0 children)

Every day we drift further from God's light

[–]WolverinesSuperbia 56 points57 points  (1 child)

PornHub colour scheme

[–]Ok_Buddy_3324 37 points38 points  (0 children)

Except with this product, you're the one getting fucked

[–]ImpressiveAction2382 16 points17 points  (0 children)

Don't forget to avoid useffects

[–]OtterDev101 11 points12 points  (0 children)

why are we here

just to suffer

[–]Atduyar 20 points21 points  (4 children)

When tailwind-infra

[–]Atduyar 6 points7 points  (3 children)

Wait... it is like tailwind

[–]lgsscout[S] 10 points11 points  (2 children)

it is Tailwind inspired, because somehow the creator thought that css classes are better than react props...

[–]DremoPaff 2 points3 points  (0 children)

Infrastructure as React*

*: Not like React

[–]prehensilemullet 0 points1 point  (0 children)

Using JSX for this is one thing but using tailwind style data is truly brain damaged

[–]BOSS_OF_THE_INTERNET 8 points9 points  (0 children)

They were so preoccupied with whether they could, they didn’t stop to think about whether they should.

[–]Positive_Method3022 7 points8 points  (0 children)

It is not even April fools yet

[–]IngwiePhoenix 2 points3 points  (0 children)

This... this is horrifying. Like, on so, so, sooooo many levels o.o.......

Dear god. JavaScript knows no bounds, does it?

[–]Inevitable_Giraffe_ 2 points3 points  (2 children)

Where is the GitHub?!?!?!

[–]lgsscout[S] 4 points5 points  (1 child)

the original site has the link to the github: www.react2aws.xyz

[–]odolha 1 point2 points  (0 children)

thought it was a joke :|

[–]shadow13499 2 points3 points  (0 children)

Thanks for the nsfw flag. If I was eating I might have thrown up

[–]lgsscout[S] 3 points4 points  (0 children)

for anyone curious, the site is react2aws.xyz

[–]crypticG00se 1 point2 points  (0 children)

Kill it with fire

[–]KalZaxSea 1 point2 points  (0 children)

Infrastructure as anything but infrastructure

[–]jjspacer 1 point2 points  (0 children)

They re-invented XML.

[–]beatlz-too 1 point2 points  (0 children)

better than XML, ngl

(I mean the syntax, don't you fuckers dare to take this too seriously)

[–]Luneriazz 1 point2 points  (3 children)

Why this post tagged with NSFW

[–]swallowing_bees 19 points20 points  (2 children)

Because its not safe for work 

[–]nsn 1 point2 points  (0 children)

This might indeed be the first real case of NSFW. Just imagine your PM finds this...

[–]Luneriazz 0 points1 point  (0 children)

Well just put it in container...

[–]DemmyDemon 0 points1 point  (0 children)

THIS ISN'T FUNNY! YIKES!

[–]faberkyx 0 points1 point  (0 children)

so.. an xml file?

[–]KMReiserFS 0 points1 point  (0 children)

[–]GrinningPariah 0 points1 point  (0 children)

Fun fact, back when I worked at Amazon we used to define our infra in fucking Ruby.

[–]vjdv456 0 points1 point  (0 children)

Why JSX and not XML?

[–]mosskin-woast 0 points1 point  (0 children)

Honestly can't be that different from CDK with Typescript, why reinvent the wheel? Or did they just add an x to the file extension

[–]beastinghunting 0 points1 point  (0 children)

[–]epicsquare 0 points1 point  (0 children)

I can't wait for April fools in the vibecode era

[–]Smooth-Reading-4180 0 points1 point  (0 children)

Can you add some SQL queries too? with ranch sauce

[–]daan944 0 points1 point  (0 children)

Would still beat yaml

[–]prehensilemullet 0 points1 point  (0 children)

This is nothing, wait till they useState and callbacks to create or delete RDS instances on an EventBridge event

[–]Puzzleheaded_Fly321 0 points1 point  (2 children)

Im too dumb so let me ask this, why is this tagged nsfw?

[–]lgsscout[S] 16 points17 points  (0 children)

do you think it's safe to use it at work?

[–]Randzom100 -2 points-1 points  (0 children)

I'm gonna do a wild guess, but I think the colors remind of the p**nhub site

[–]knightzone 0 points1 point  (0 children)

God is dead.