Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I was taking a look at this questionthis question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussions in the past, and other answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

I was taking a look at this question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussions in the past, and other answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

I was taking a look at this question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussions in the past, and other answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
Source Link

I was taking a look at this question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussionssome similar discussions in the past, and other answers have been providedother answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

I was taking a look at this question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussions in the past, and other answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

I was taking a look at this question. As the OP originally had it, they included the relevant JavaScript, and had a JS Fiddle to execute the code.

Subsequently, an edit was made that removed the Fiddle, and moved the code in the question into a Snippet. That's good that we can now run it locally without having to go to Fiddle, however there was a TON of extra irrelevant code added.

I'm not arguing the merits of snippets, or whether this edit was right or wrong. In this example, all that was needed was solely the JavaScript. However, in another example, there could be a combination, but having all the code could be too much to process.

What I would like to discuss/propose is the possibility of making the different sections (JavaScript/CSS/HTML) collapsible within the snippet definition. We've had some similar discussions in the past, and other answers have been provided. Yet, if it is possible, I think we can go further to improve the usefulness of Snippets.

edited tags
Link
Source Link
krillgar
  • 12.8k
  • 17
  • 16
Loading