What do you think guys

https://history-computer.com/sql-vs-css-whats-the-difference-which-is-better/

53 points · 30 comments · view on lemmy.world

30 Comments

lelgenio@lemmy.ml · 47 pts · 2y (5 replies)
CREATE TABLE display (
    id INT PRIMARY KEY,
    display_property TEXT
);

INSERT INTO display (id, display_property)
VALUES
(1, 'block'),
(2, 'inline-block'),
(3, 'flex');

CREATE TABLE divs (
    id INT PRIMARY KEY,
    inner_html TEXT,
    display INT REFERENCES display(id)
);

INSERT INTO divs (id, inner_html , display)
VALUES
(1, 'div1', 1),
(2, 'div2', 2),
(3, 'div3', 3);
lelgenio@lemmy.ml · 44 pts · 2y (3 replies)
.users {
  id: int !primary-key;
  name: text;
}

.users::insert {
  id: 1;
  name: "John doe";
}

@query (max: 10) {
  .user {
    display: table;
  }
  .users id {
    display: none;
  }
}
__init__@programming.dev · 18 pts · 2y

Thanks, I hate it.

moebius@feddit.de · 15 pts · 2y (1 reply)

They both feel so wrong, I love it.

Karfkengrumble@lemmings.world · 8 pts · 2y

I think I need to lie down.

jelloeater85@lemmy.world · 6 pts · 2y

pooberbee@lemmy.ml · 43 pts · 2y (13 replies)

I prefer SQL, because you can pronounce it "sequel" or "es-cue-ell", and it's fine. CSS just doesn't have that kind of flexibility as a language.

xmunk@sh.itjust.works · 11 pts · 2y

CSS also pisses me off because it clearly doesn't cascade... to contrast SQL is a language, it is used for querying... and it's structured horribly. Please for the love of God let me FROM foo WHERE bar SELECT baz

xuxebiko@kbin.social · 6 pts · 2y (1 reply)

curses?

AnUnusualRelic@lemmy.world · 1 pts · 2y

"Ksssss"

That's what I sound like whenever I have to tackle that bag of snakes.

techognito@lemmy.world · 5 pts · 2y (9 replies)

I have also heard some say "school"

ripcord@kbin.social · 9 pts · 2y

Well, those people are maniacs

Whisp@kbin.social · 4 pts · 2y (5 replies)
[ removed ]
zorro@lemmy.world · 5 pts · 2y (3 replies)

I like squeal. MS-squeal, my-squeal

xmunk@sh.itjust.works · 1 pts · 2y (2 replies)

Real programmers refuse to refer to MSSQL as anything except TransactSQL or TSQL because 1) MSSQL is a fucking mouthful whether you prefer Sequel or ess-cue-el and 2) because those assholes named their RDBMS SQLServer thud leading to the constant confused "How is the SQL server doing?" 'SQL Server? We're not a Micro$oft shop..."

The real complex one is whether you're a postgre-ess-cue-el, postgres-cue-el, postgres-ess-cue-el, postgre-sequel, postgres-equal or postgres-sequel aficionado... and if you enjoy postgres-equal please fucking leave now.

techognito@lemmy.world · 2 pts · 2y (1 reply)

@inspxtr@lemmy.world gave me the skull idea so PostegreSQL is now post-gre-skull

xmunk@sh.itjust.works · 2 pts · 2y

You sure you don't want to postgres-kull?

fibojoly@sh.itjust.works · 1 pts · 2y

Skoll! I like it!

inspxtr@lemmy.world · 3 pts · 2y (1 reply)

i’m leaning towards “skull” tho

techognito@lemmy.world · 3 pts · 2y

"I dropped a table with skull"

it has a nice ring to it

sxan@midwest.social · 30 pts · 2y

Oh. Now I want one of these for every pairing. Vim vs Windows. Bubble Sort vs. SODIMM. The beauty is, with LLMs, I can have it! Enter two of any computer terms, and ChatGPT spits out a comparison. And why stop with computer stuff? Eukayryotic vs Republican! The War of 1812 vs The Kessel Run!

flashgnash@lemm.ee · 20 pts · 2y

I think the real question on all of our minds is which is better: JavaScript or megabytes

froh42@lemmy.world · 18 pts · 2y

Is this chatGPT generated?

Seasm0ke@lemmy.world · 18 pts · 2y

Having worked with tables in both I'm partial to French.

RagingNerdoholic@lemmy.ca · 15 pts · 2y (1 reply)

Filing cabinets or oil paints? Which is better?

Dr_Cog@mander.xyz · 4 pts · 2y

Tried to store documents in paint and it ruined the documents, 0/10

I'll let you know how my file cabinet art show goes

ShaunaTheDead@kbin.social · 8 pts · 2y

This is a pretty roundabout way of saying back-end vs front-end.

Renacles@discuss.tchncs.de · 2 pts · 2y

What in the actual fuck

JoMomma@lemm.ee · 2 pts · 2y

C

Ss

Of cour

Se

MasterBlaster@lemmy.world · 2 pts · 2y

O.o

froh42@lemmy.world · 1 pts · 2y
[ removed ]
MashedTech@lemmy.world · 1 pts · 2y

Obviously CSS