this post was submitted on 09 May 2025
441 points (99.1% liked)
Programmer Humor
23172 readers
1286 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Have they
#define
d out the equals symbol? I don't think thatfor
loop is going to compile.The symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.
why not? looks fine
The
#define =
line would mean the=
would be effectively removed, rendering thefor
a syntax error. That is, assuming it is an equals sign they've redefined, and not similar looking character.that's not a =, it's a ═ (
U+2550 BOX DRAWINGS DOUBLE HORIZONTAL
). you can tell because == doesn't connect but ══ does.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.
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.