this post was submitted on 08 Aug 2025
37 points (81.4% liked)

Mildly Interesting

23351 readers
219 users here now

This is for strictly mildly interesting material. If it's too interesting, it doesn't belong. If it's not interesting, it doesn't belong.

This is obviously an objective criteria, so the mods are always right. Or maybe mildly right? Ahh.. what do we know?

Just post some stuff and don't spam.

founded 2 years ago
MODERATORS
 

Motorola and a Dell wireless keyboard.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Ephera@lemmy.ml 5 points 2 months ago (3 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. ๐Ÿซ 

[โ€“] ITPaw@discuss.tchncs.de 3 points 2 months ago (1 children)
[โ€“] Ephera@lemmy.ml 2 points 2 months ago

Aha! Seems to just be a convention to use multiple semicolons for full-line comments, but that's still probably it then.

https://ostash.dev/posts/2021-02-19-clojure-code-comments/

Thanks! ๐Ÿ™‚

[โ€“] nef@slrpnk.net 2 points 2 months ago (1 children)

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

[โ€“] Ephera@lemmy.ml 1 points 2 months 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.

[โ€“] papalonian@lemmy.world 2 points 2 months ago

That is interesting. They're definitely closer together on line 14 than on line 7.