▲ 651 ▼ More code = more better (lemmy.zip) submitted 7 months ago by cm0002@lemmy.zip to c/programmer_humor@programming.dev 92 comments fedilink hide all child comments
[–] Grandwolf319@sh.itjust.works 6 points 7 months ago (2 children) How so? It’s only 10 increments permalink fedilink source parent hideshow 4 child comments replies: [–] anton@lemmy.blahaj.zone 5 points 7 months ago Because the only brainfuck instructions in your comment where a - which decrements and 20 +, each of which increments. Mine echos the first two characters from stdin, because of the commas and dots. permalink fedilink source parent [–] juliebean@lemmy.zip 2 points 7 months ago it's been a long time since i looked at brainfuck, but i suspect that '+' denotes an increment, and '-' denotes a decrement, so we've got one decrement and 20 increments. permalink fedilink source parent
[–] anton@lemmy.blahaj.zone 5 points 7 months ago Because the only brainfuck instructions in your comment where a - which decrements and 20 +, each of which increments. Mine echos the first two characters from stdin, because of the commas and dots. permalink fedilink source parent
[–] juliebean@lemmy.zip 2 points 7 months ago it's been a long time since i looked at brainfuck, but i suspect that '+' denotes an increment, and '-' denotes a decrement, so we've got one decrement and 20 increments. permalink fedilink source parent