Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Dave-Carlile · Aug 01, 2015 at 03:29 AM · metamoderation

[Meta] Should links to external code or code screenshots be published?

Occasionally when moderating, the poster's sample code is put on an external site such as pastebin or some obscure site. The post contains a link to the external site rather than placing the code directly in the question. Unless I'm missing it, the moderator guidelines don't have anything to say about whether that should be allowed. So should it?

Same question with sample code in screenshots. These are unsearchable and unwieldy. And finally sometimes code is formatted using blockquote instead of code format.

My vote is to require all code to be placed inline in the question, and formatted using the code format button. Any other way of referencing code would be rejected.

Thoughts?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zach-r-d · Aug 01, 2015 at 03:49 AM 1
Share

I fully agree, if it's not embedded in the question with the code format button it should be rejected. Screenshots are especially obnoxious since there is no way to copy-paste when trying to reproduce a problem someone has. I$$anonymous$$O, external hosting is not as big a deal, but it reduces searchability and has a tiny chance of being malicious, so it should go too.

Block quotes may be forgivable, though. I think anyone who takes the time to use the block quote button is probably the kind of person who would fix their post and use the code button in the future if gently corrected with a comment.

avatar image tanoshimi · Aug 01, 2015 at 06:33 AM 1
Share

One of the moderator objectives is to "$$anonymous$$ake it easier for users to find the information they need". As noted, external code is unsearchable, it has a chance of being broken/changed after the question is asked, and is potentially malicious. And screenshots are unsearchable. So I agree - I reject both from the mod queue immediately.

avatar image maccabbe · Aug 01, 2015 at 06:35 AM 1
Share

I usually allow all 3 to go through.

External code is usually used when there is a large amount of code which unity answers can't do. Honestly I don't bother answering these questions but it still seems like external code is useful.

Code in screenshots are usually used to show an error message. Formatting commonly makes the error appear on a different line in unity answers than in the error message. That means screenshots are actually easier to fix in these cases.

Block quotes are usually just people who accidentally hit the wrong button so I just fix it myself and leave a comment.

I can understand why you might want to automatically reject these questions but it seems like it would be better if moderators were allowed to decide if the code was properly formatted for a question. For instance a screenshot of code that compiles without warning, but does something unexpected upon running, so you need copy/paste it to test the code should be rejected because it is poorly formatted.

avatar image Dave-Carlile · Aug 01, 2015 at 12:51 PM 3
Share

@$$anonymous$$accabbe I guess I would be fine with allowing exceptions for large amounts of code. But it could also be argued that if that amount of code is required then the problem hasn't been narrowed down enough yet to ask a question about it here.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by meat5000 · Aug 01, 2015 at 08:13 PM

If its 2 or 3 lines of code a screenshot is ok in my opinion. That said its still FAR EASIER to paste and code-tag it. Paste-bin should only be used if really really really necessary to post >3000 chars of code but understand that it may be volitile, but not quite as temporary as dropbox links.

Of course down the line, questions with outdated content will be deleted and thats no friggin use to anyone so paste n tag, on site, all the way.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dave-Carlile · Aug 02, 2015 at 02:57 AM 1
Share

The leaning seems to be towards rejecting these in general, with room left for judgement calls. That's probably what I'll being from here on out unless and until we get an official ruling.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[Meta] Question missing - was it intentional? 1 Answer

[Meta] Can line#s be displayed in the Mod queue? 1 Answer

[Qato] What's up with the moderation queue now? 2 Answers

[META] Should moderators look for duplicate posts? 1 Answer

[Meta] Send Message is STILL broken on moderation page? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges