This got its way into the About section of scripting support. I am leaving this post for archival purposes.
Screenshots of your code are an absolutely awful way of posting your buggy code and you should stop posting code like this immediately. Oh and this got its way into the about section of scripting support:
Why it is a problem
Images of code are a problem because:
-
Image quality isn’t always the best, so code could be too blurry
- Text is easier to read than images
-
We can’t copy the code to reproduce the problem, and to add fixes. We are being forced to transcribe from the image, which can lead to potential errors in the transcription, making the test less successful.
-
Poor font/color theme
this man had the audacity to post his englishman scripting
-
People with visual impairments who use screen readers won’t be able to know what the code is, since text in images cannot be read
-
Image contents can not be searched, so future people with the same problem won’t be able to find a solution
-
Images can only show so much code
-
It will be more difficult to tell if invisible characters or misuse of unicode characters are causing the problem like this one
-
On mobile devices, images can appear large or even not fit
-
Images can take longer to load especially on mobile devices
-
Some corporate proxies block images, so RIP to the chances of someone using one helping you
-
You are getting help free of charge, so at least make it as convenient as possible for the people helping you.
Why images of output are a problem
Pretty much the same reasons why code images are an issue. But for exceptions, going to quote Image of an exception :
-
Images cannot easily contain all of the details from an exception. Exceptions contain stack traces which are often very long and won’t fit in an image. Exceptions also can contain inner exceptions or be an aggregate of multiple exceptions which all have stack traces of their own.
-
You can usually find the answer by googling the message, like google
A is not a valid member of B
and you would find similar questions. With an image, you are again, being forced to write it out, which can also lead to mistakes in the transcription.