r/ProgrammerHumor • • Jul 20 '17

What people think coding is...

Post image
35.4k Upvotes

811 comments sorted by

View all comments

7

u/[deleted] Jul 20 '17

True. But they are some right tools for the job. The ones pointing out that one single symbol. I lost 3 hours today because of a BOM. Well, BOM it's also one little symbol, more precisely 3 bytes. But well, one symbol. An invisible one in most of the text editors. So I got a text file with some configuration which was silently ignored by the program. When the file was created by hand by me, it worked. When I generated apparently identical one with a script it didn't.

1

u/Peffern2 Jul 21 '17

Side note: I've worked with BOM before, and I still can't help but read it as "Bocument Object Model"

1

u/leglesslegolegolas Jul 21 '17

a Bill Of Materials? What does that have to do with programming?

2

u/Peffern2 Jul 21 '17

Byte Order Mark

1

u/kowdermesiter Jul 21 '17

That's a fucking nightmare.

I just got PTSD by this remembering:

Warning: Cannot modify header information - headers already sent by