There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

httpjames , in no.. just no
@httpjames@sh.itjust.works avatar

Joins must be a pain in the ass with hooks

Sanchokan , (edited ) in The Holy Trinity of JavaScript

A few years back I came to the conclusion that the holy trinity in Christianity are three levels of abstraction: the son => God walks on earth and tangible, the father => God in heaven untangible but still reachable by speech, holy spirit => God in who knows where.

Then I thought that as a way of imparting the thought that any level of abstraction of the universe would also be inhabitated by God, those which we can sense, and those where our senses can't reach. The idea that omniprescense is not only limited to our dimension.

I'm not sure if that is the original meaning but is a way of seeing it that I can relate to, since I've always been akeen to a more abstract idea of God, and not so much to a figure that praises itself of thought, which is a human attribute.

yannic ,
CanadaPlus ,

As far as I can tell, the doctrine of the trinity served political rather than logical purposes back when it was put in writing in late antiquity, and since then it’s just been the doctrine. If you want to believe, you just have to believe and not think about it too hard, like the video says.

ThrowawayPermanente , in 4 billion if statements

Let’s be real though, everything is IF statements all the way down

Th4tGuyII ,
@Th4tGuyII@kbin.social avatar

There's not a single thing in this universe that cannot be accomplished with enough IF statements... as long as you've got infinite time to wait

firecat ,

The problem with if is the answer comes from user. There’s no mathematical reason or scientific explanation, only programmer who thinks the answer should include the subject.

Th4tGuyII ,
@Th4tGuyII@kbin.social avatar

True...

But even on a more metaphorical level, every single thing that has or will happen in this universe, down to even the smallest quantum fluctuations could be encapsulated into IF statements as long as you had enough of them.

onlinepersona , in 4 billion if statements

I honestly thought this was going to be about AI 😅

CC BY-NC-SA 4.0

MxM111 ,

No, this is about NS. Natural Stupidity.

expr , in no.. just no

Not only is this really gross, it’s also straight up wrong. It’s missing a from clause, and it makes no sense for a where clause to be nested under the select. The select list selects columns from rows that have already been filtered by the where clause. Same for the limit.

Also just gonna go ahead and assume the JSX parser will happily allow SQL injection attacks…

nephs ,

Booooo

CanadaPlus ,

I like the format, though.

Ephera , in 4 billion if statements

Now we just need to someone to package it and upload it to NPM.

NovaPrime , in 4 billion if statements
@NovaPrime@lemmy.ml avatar

Andreas is a maniac

adhocfungus , in no.. just no
mindbleach , in The Holy Trinity of JavaScript

“The trinity makes as much sense as Javascript” is a vulgar condemnation of Christian dogma.

leftzero , in no.. just no

Of course not… where’s the damn <From> tag…?

kpw , in no.. just no

The most offensive thing here is the amount={5} attribute. What is it? It's not XML.

MostlyHarmless ,

It’s JSX. It’s used to embed markup into javascript

sndrtj ,

It’s to embed Javascript into embedded markup in Javascript

cupcakezealot , in no.. just no
@cupcakezealot@lemmy.blahaj.zone avatar

please kindly send all javascript into the sun and explode it

zqwzzle , (edited ) in The Holy Trinity of JavaScript

=== is just == with extra steps

thanks_shakey_snake ,

It’s actually the other way around. == has to perform type coercions as part of its equality algorithm, whereas === does not, so == has more steps.

cmdrkeen , in no.. just no

Honestly not the worst thing I’ve seen.

xmunk ,

I’d like you to think for a moment about CTEs, the HAVING clause, window functions and every other funky and useful thing you can do in SQL … Now just think, do you think that this syntax supports all those correctly?

cmdrkeen ,

Probably no better or worse than any other ORM written in a more traditional language. Worst comes to worst, you can always escape to plain SQL.

Primarily0617 ,

sql syntax doesn't support even itself correctly i fail to see your point

tiny_electron , in The Holy Trinity of JavaScript

This never gets old lmao

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines