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

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

[-] SteveTech@programming.dev 22 points 1 year 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 1 year ago
[-] notabot@lemm.ee 1 points 1 year 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 13 points 1 year ago* (last edited 1 year 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 1 year 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 1 year 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
460 points (99.1% liked)

Programmer Humor

33175 readers
1140 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 3 years ago
MODERATORS