lemmy.amxl.com
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sus@programming.dev to Programmer Humor@programming.devEnglish · 1 day ago

Stringly typed

programming.dev

message-square
89
fedilink
546

Stringly typed

programming.dev

sus@programming.dev to Programmer Humor@programming.devEnglish · 1 day ago
message-square
89
fedilink
  • Jerkface@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 day ago

    … Little Endian or Big Endian?

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      Middle Endian ftw!

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        I made a joke about that lately after someone suggested YYYY-DD-MM.

      • baines@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        how big is your word and how would this work

        • squaresinger@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          22 hours ago

          You know, I was just joking, but turns out, Middle Endian really does exist!

          https://en.wikipedia.org/wiki/Endianness#Middle-Endian

          And it’s just as crazy as one’d think. It’s a 32bit value consisting of two 16bit little endian words jumbled together in big endian. So the byte order is B A D C.

          Whenever I think “This is a really stupid idea, nobody would do that”, turns out, someone actually did that.

          • baines@lemmy.cafe
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            edit-2
            17 hours ago

            oh lord why but that is about what i thought itd be

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.

  • 2.72K users / day
  • 4.57K users / week
  • 9.1K users / month
  • 19.5K users / 6 months
  • 1 local subscriber
  • 26.3K subscribers
  • 1.09K Posts
  • 25.4K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org