No copyable code blocks should be good feature, because it forces the questioner to write for yourself, and therefore promotes learning.
-
19It also promotes typos ... – Glorfindel Jul 4 '16 at 9:45
-
11What exactly is a "no copyable code block"? Once it appears on a web page, you can rest assured that it can be copied. – Nisse Engström Jul 4 '16 at 9:47
-
Someone asks a question to receive an answer. We shouldn't make it harder for someone to use that answer. – Sayse Jul 4 '16 at 9:49
-
Many modern browsers have developer tools; it isn't practical to prevent copying, and OCR is quite reasonable now. It doesn't matter if it's an image or text, anybody sufficiently skilled and willing will find a way to copy it. – Aaron3468 Jul 7 '16 at 18:59
-
I find all the downvotes on this quite unfair. It's a legitimate question, if not a good idea. This kind of thing scare users off of SO. – Sean Feb 27 '19 at 7:51
-
1@Sean I agree, but unfortunately votes works different on meta. – klutt May 31 '19 at 21:32
Apart from being completely impractical (if it is on the page, it can be copied - even if it is an image - that code can be retyped), the reasoning given doesn't make sense.
I don't see how preventing copying will promote learning.
-
8I don't see how preventing copying will promote learning: Everybody will learn that with this feature SO sucks... – honk Jul 4 '16 at 9:52
-
I think the op's premise is built upon the act of rewriting something should help clarify understanding. But that is out of scope of what StackOverflow's purpose is – Sayse Jul 4 '16 at 9:55
-
4Making people type the code for themselves forces them to learn debugging skills when they make the inevitable typo. ;) – Bill the Lizard Jul 4 '16 at 14:00