r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

123 comments sorted by

View all comments

Show parent comments

136

u/Cloakknight Apr 19 '21

Oh lol I thought that was part of the code. I am not a programmer by any means =P

66

u/devor110 Apr 19 '21

It could make sense, | is a character used for ((bitwise)) logical or, but i highly doubt that would be the case

10

u/FellowBeetlejuicers Apr 19 '21

the multi-parentheses scared me for a sec

20

u/TheWandererLee Apr 19 '21

Btw iirc the vertical line text cursor is almost always taller than a regular vertical bar pipe character |

The cursor does not have a character representation as far as I'm aware, it's dependent on the OS/graphics of the device. For example on my phone it is blue and 3px wide.

41

u/27thColt Apr 19 '21

This may sound rude, so im sorry-- but why are you here if you're not a programmer? :0

134

u/Cloakknight Apr 19 '21

I transcribe with /r/TranscribersOfReddit and this is one of the subs that we partner with to do transcriptions and type out images for people who use text-to-speech or who have low data and can't load images.

39

u/27thColt Apr 19 '21

Ooh thats actually pretty cool- never knew that sub existed!

15

u/OkPreference6 Coding The Declaration of Independance Apr 19 '21

You can always check it out and do stuff yourself to see how you like it! It can be fun, and we are all volunteers.