SQL vs. CSS What’s the Difference? Which Is Better?
history-computer.com
external-link
A closer look at the differences between SQL and CSS. These two programming languages are common, but how are they used?

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

What in the actual fuck

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

@lelgenio@lemmy.ml
link
fedilink
43
edit-2
1Y
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);
jelloeater - Ops Mgr
link
fedilink
English
61Y

.users {
  id: int !primary-key;
  name: text;
}

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

@query (max: 10) {
  .user {
    display: table;
  }
  .users id {
    display: none;
  }
}

They both feel so wrong, I love it.

I think I need to lie down.

Thanks, I hate it.

Obviously CSS

Yer Ma
link
fedilink
21Y

C

Ss

Of cour

Se

Is this chatGPT generated?

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

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.

Techognito
link
fedilink
English
41Y

I have also heard some say “school”

i’m leaning towards “skull” tho

Techognito
link
fedilink
English
21Y

“I dropped a table with skull”

it has a nice ring to it

Whisp
link
fedilink
41Y

I have a friend who intentionally mis-calls it “squoll”

Skoll! I like it!

@zorro@lemmy.world
link
fedilink
English
51Y

I like squeal. MS-squeal, my-squeal

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
link
fedilink
English
11Y

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

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

ripcord
link
fedilink
7
edit-2
1Y

Well, those people are maniacs

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
link
fedilink
61Y

curses?

“Ksssss”

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

deleted by creator

Filing cabinets or oil paints? Which is better?

Dr Cog
link
fedilink
31Y

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

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!

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.6K Comments
  • Modlog