Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • \$\begingroup\$ You do know you should never use ][, right? \$\endgroup\$ Commented Mar 1, 2016 at 5:47
  • \$\begingroup\$ I do not, can you explain why? \$\endgroup\$ Commented Mar 1, 2016 at 14:49
  • \$\begingroup\$ When you leave a loop, the current cell is 0. Then, you skip the next loop because the cell at the pointer is still 0. \$\endgroup\$ Commented Mar 1, 2016 at 16:12
  • \$\begingroup\$ Oh, I always thought the check occurs at the end of the loop? \$\endgroup\$ Commented Mar 1, 2016 at 16:29
  • \$\begingroup\$ It also occurs at the beginning. In some implementations, [ does nothing, but that is a completely different language (newbiefuck on the esolang wiki) \$\endgroup\$ Commented Mar 1, 2016 at 16:32