• pooberbee (any)@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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

  • lelgenio@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago
    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);
    
  • 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
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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