Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 16 days ago

Unexpected Spanish Inquisition

programming.dev

message-square
8
fedilink
512

Unexpected Spanish Inquisition

programming.dev

CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 16 days ago
message-square
8
fedilink
alert-triangle
You must log in or # to comment.
  • tetris11@feddit.uk
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    16 days ago

    make([] [] byte, 0)

    Does this make a double nested byte array of size 0?

    As in, every element is made up of two iterators (adjacent cell, and then the nested cell), but the first element doesnt exist yet?

    • EntirelyUnlovable@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      16 days ago

      This looks like Go, so I think this would be a 2d array (or slice as Go calls it) of bytes, with starting length 0. Go has an optional 3rd parameter for capacity

      • tetris11@feddit.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        16 days ago

        Interesting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given

  • Owl@mander.xyz
    link
    fedilink
    arrow-up
    3
    ·
    16 days ago

    Where is this from

    • SkybreakerEngineer@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      16 days ago

      Looks like Visual Basic Studio

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        16 days ago

        I mean the inquisition

        (If you answer spain I’m gonna make you eat a life-sized crucifix)

    • Kratzkopf@discuss.tchncs.de
      link
      fedilink
      arrow-up
      13
      ·
      16 days ago

      Monty Python apparently. (Although the other comment is funnier)

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        Ty!

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.

  • 994 users / day
  • 3.95K users / week
  • 7.57K users / month
  • 17.4K users / 6 months
  • 198 local subscribers
  • 31.2K subscribers
  • 2.31K Posts
  • 90.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org