457
you are viewing a single comment's thread
view the rest of the comments
[-] notabot@lemm.ee 3 points 2 weeks ago

Have they #defined out the equals symbol? I don't think that for loop is going to compile.

[-] SteveTech@programming.dev 24 points 2 weeks ago

The symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.

[-] lime@feddit.nu 3 points 2 weeks ago
[-] notabot@lemm.ee 1 points 2 weeks ago

The #define = line would mean the = would be effectively removed, rendering the for a syntax error. That is, assuming it is an equals sign they've redefined, and not similar looking character.

[-] lime@feddit.nu 15 points 2 weeks ago* (last edited 2 weeks ago)

that's not a =, it's a โ• (U+2550 BOX DRAWINGS DOUBLE HORIZONTAL). you can tell because == doesn't connect but โ•โ• does.

[-] notabot@lemm.ee 3 points 2 weeks ago

Fair point, I wasn't sure it was the equals, hence my initial question. Drawing boxes with the box drawing characters does make a lot more sense.

[-] _____@lemm.ee 1 points 2 weeks ago

It looks like a different symbol of you were to compare the characters length in pixels

the equals and the horizontal double bars seem different to me.

this post was submitted on 09 May 2025
457 points (99.1% liked)

Programmer Humor

23417 readers
1710 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS