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

Unexpected Spanish Inquisition

programming.dev

message-square
8
link
fedilink
510

Unexpected Spanish Inquisition

programming.dev

CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 14 days ago
message-square
8
link
fedilink
alert-triangle
You must log in or # to comment.
  • tetris11@feddit.uk
    link
    fedilink
    English
    arrow-up
    8
    ·
    14 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
      ·
      14 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
        ·
        14 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
    ·
    14 days ago

    Where is this from

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

      Looks like Visual Basic Studio

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        8
        ·
        14 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
      12
      ·
      14 days ago

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

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        14 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: [email protected]

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.88K users / day
  • 3.66K users / week
  • 6.02K users / month
  • 6.05K users / 6 months
  • 1 local subscriber
  • 31.2K subscribers
  • 173 Posts
  • 1.72K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org