you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 7 months ago (1 child)

This is actually a valid brainf*ck program, but it results in 19, not 10.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 7 months ago (2 children)

    How so? It’s only 10 increments

  • source
  • parent
  • hideshow 4 child comments
  • [–] 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.

  • source
  • parent