programmer_humor·Programmer HumorbyCodyIT Unexpected Spanish InquisitionView original on programming.dev509Comments9Reply
tetris11 feddit.uk2Hide 2 repliesmake([] [] 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?10Reply
EntirelyUnlovable replylemmy.world1Hide 1 replyThis 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 capacity13Reply
tetris11 replyfeddit.ukInteresting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given4Reply
Owl replymander.xyz1Hide 1 replyI mean the inquisition (If you answer spain I’m gonna make you eat a life-sized crucifix)11Reply
KKratzkopf replydiscuss.tchncs.de1Hide 1 replyMonty Python apparently. (Although the other comment is funnier)15Reply
9 replies
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?
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
Interesting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given
Where is this from
Looks like Visual Basic Studio
I mean the inquisition
(If you answer spain I’m gonna make you eat a life-sized crucifix)
Monty Python apparently. (Although the other comment is funnier)
Ty!
What language was this written in? Monty VBA