c/programmer_humor · by CodiUnicorn@programming.dev · 132dUnexpected Spanish Inquisition 509 points · 9 comments · view on lemmy.world
9 Comments
tetris11@feddit.uk · 10 pts · 132d
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 · 13 pts · 132d
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 · 4 pts · 132d
Interesting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given
BuboScandiacus@mander.xyz · 3 pts · 132d
Where is this from
SkybreakerEngineer@lemmy.world · 22 pts · 132d
Looks like Visual Basic Studio
BuboScandiacus@mander.xyz · 11 pts · 131d
I mean the inquisition
(If you answer spain I’m gonna make you eat a life-sized crucifix)
expatriado@lemmy.world · 1 pts · 131d
Kratzkopf@discuss.tchncs.de · 15 pts · 132d
Monty Python apparently. (Although the other comment is funnier)
BuboScandiacus@mander.xyz · 2 pts · 131d
Ty!
e_chao@lemmy.world · 1 pts · 15d
What language was this written in? Monty VBA