A picture of a text editor, with semicolons, newlines, lowercase L’s, and capital G’s having been entered in the midst of the document.
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago* (6 children)

You might be thinking of Brainfuck.

Also, if you're going to search for that, MAKE SURE SAFESEARCH IS TURNED ON IF YOU'RE GOING TO SEARCH IMAGES!!

  • source
  • parent
  • hideshow 6 child comments
  • [–] 5 points 1 year ago (5 children)

    Hmm, the text does look somewhat like Brainfuck, but Brainfuck doesn't seem to use semicolons.

    My question comes from the two semicolons on line 14 being pushed closer together. I assume the font has a ligature for when two semicolons are next to each other. Presumably, it's some coding font, which would also use ligatures to turn e.g -> into → and things like that.

    But yeah, you don't usually include such ligatures into a font, unless there is a specific use-case for that. There could be a programming language that uses ;; to start a line comment, for example. But I'm really not sure, if I've ever seen that, hence my question. 🫠

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 1 year ago (1 child)

    C and C++ use for (;;) {} as an unconditional loop.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    Ah, good point. Does make me wonder how the font developers test the effect of certain ligatures, like did they actually have both Clojure comments and unconditional C loops in mind when they introduced this ligature...? I guess, it doesn't really break anything, so could just introduce it and see if anyone complains.

  • source
  • parent