sh.itjust.works
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf to Programmer Humor@lemmy.ml · 2 years ago

What do you think guys

history-computer.com

external-link
message-square
30
link
fedilink
57
external-link

What do you think guys

history-computer.com

Sjmarf to Programmer Humor@lemmy.ml · 2 years ago
message-square
30
link
fedilink
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?
alert-triangle
You must log in or register to comment.
  • lelgenio@lemmy.ml
    link
    fedilink
    arrow-up
    47
    ·
    edit-2
    2 years 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);
    
    • lelgenio@lemmy.ml
      link
      fedilink
      arrow-up
      45
      arrow-down
      1
      ·
      2 years ago
      .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
        link
        fedilink
        arrow-up
        18
        ·
        2 years ago

        Thanks, I hate it.

      • moebius@feddit.de
        link
        fedilink
        arrow-up
        15
        ·
        2 years ago

        They both feel so wrong, I love it.

        • Karfkengrumble@lemmings.world
          link
          fedilink
          arrow-up
          8
          ·
          2 years ago

          I think I need to lie down.

    • jelloeater@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Your browser does not support playing HTML5 video. You can download a copy of the video file instead.

  • pooberbee (they/she)@lemmy.ml
    link
    fedilink
    arrow-up
    43
    ·
    2 years 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
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      2 years 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

    • xuxebiko@kbin.social
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      curses?

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        “Ksssss”

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

    • Techognito@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      I have also heard some say “school”

      • ripcord@kbin.social
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        2 years ago

        Well, those people are maniacs

      • Whisp@kbin.social
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        deleted by creator

        • zorro@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 years ago

          I like squeal. MS-squeal, my-squeal

          • xmunk
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

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

              @[email protected] gave me the skull idea so PostegreSQL is now post-gre-skull

              • xmunk
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

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

        • fibojoly
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Skoll! I like it!

      • inspxtr@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        i’m leaning towards “skull” tho

        • Techognito@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          “I dropped a table with skull”

          it has a nice ring to it

  • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
    link
    fedilink
    arrow-up
    30
    ·
    2 years ago

    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
    20
    ·
    2 years ago

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

  • froh42@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

    Is this chatGPT generated?

  • Seasm0ke@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

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

  • RagingNerdoholic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    2 years ago

    Filing cabinets or oil paints? Which is better?

    • Dr Cog@mander.xyz
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      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
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

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

  • Renacles@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    What in the actual fuck

  • Yer Ma@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    C

    Ss

    Of cour

    Se

  • MasterBlaster@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    O.o

  • froh42@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    deleted by creator

  • MashedTech@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Obviously CSS

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 150 users / day
  • 475 users / week
  • 1.65K users / month
  • 10.1K users / 6 months
  • 1.73K local subscribers
  • 35.6K subscribers
  • 1.69K Posts
  • 36.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org