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

Unexpected Spanish Inquisition

programming.dev

message-square
8
fedilink
512

Unexpected Spanish Inquisition

programming.dev

CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 16 天前
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 天前

    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 天前

      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 天前

        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 天前

    Where is this from

    • SkybreakerEngineer@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      16 天前

      Looks like Visual Basic Studio

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

        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 天前

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

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        16 天前

        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.

  • 858 users / day
  • 3.89K users / week
  • 7.65K users / month
  • 17.4K users / 6 months
  • 198 local subscribers
  • 31.2K subscribers
  • 2.31K Posts
  • 90.5K 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