lemmy.mixdown.ca
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sunnie@lemmy.ca to Programmer Humor@programming.dev · 1 year ago

no.. just no

lemmy.ca

message-square
9
link
fedilink
2

no.. just no

lemmy.ca

sunnie@lemmy.ca to Programmer Humor@programming.dev · 1 year ago
message-square
9
link
fedilink
alert-triangle
You must log in or register to comment.
  • 𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Honestly more readable than a lot of SQL I’ve read. It even has hierarchical grouping.

    • somePotato@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I was disgusted by the XML at first, but it’s a readable query returning a sane JSON object.

      Meanwhile, I’m mantaining Java code where the SQL is a perfectly square wall of text, and some insane mofo decided the way to read the resulting list of Object[] 🤮 is getting each column by index… so I’d switch to SQXMLL in a heartbeat.

      • blackbrook@mander.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Check out JOOQ.

        • shotgun_crab@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          JOOQ made me realize that most ORMs suck

  • cmdrkeen@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Honestly not the worst thing I’ve seen.

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      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?

      • Primarily0617@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

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

  • ☭ SaltyIceteaMaker ☭@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    got no clue abot sql. what is wrong and how is it supposed to look like?

    • Daxtron2@startrek.website
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      this basically xml being made to look like SQL. It’s gross and that’s why it’s funny

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.5K users / day
  • 4.19K users / week
  • 8.15K users / month
  • 11K users / 6 months
  • 1 local subscriber
  • 23.3K subscribers
  • 1.03K Posts
  • 22.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org