ATAR Notes: Forum

General Discussion => Coding Corner => Topic started by: Bri MT on December 15, 2020, 01:37:30 pm

Title: Code questions & help
Post by: Bri MT on December 15, 2020, 01:37:30 pm
CODING Q&A THREAD

What is this thread for?
If you have questions about coding or why your code isn't doing what you want, this is the place to ask!


Who can/will answer questions?
Everyone is welcome to contribute; even if you're unsure of yourself, providing different perspectives is incredibly valuable.

Please don't be dissuaded if you don't have much experience, or your advice contradicts something else you've seen on this thread, or whatever; none of this disqualifies you from helping others. And if you're worried you do have some sort of misconception, put it out there and someone else can clarify and modify your understanding! 


Make it easier to help you
If you're asking someone to figure out why your code isn't doing what you want it to, it's good practice to:

- only share the relevant code
- make sure the bit of code you share behaves in the same way as your code
- share the actual code, not a picture of the code
- describe what you want the code to be doing
- describe what is happening instead (more specific than just "it isn't working")
- present your code nicely, including indents and comments

To start a "code box" on the forums you use:
Code: [Select]
[code]

Then to close it you just do [/code]

Another note

Coding involves making mistakes. Lots of them. One of the valuable skills you learn from coding is getting better at figuring what has gone wrong, potential ways to fix it, and how to look up information effectively. It's very common to make a simple mistake even for people with a lot of experience - this isn't something you need to be embarrassed about at all.


To ask a question or make a post, you will first need an ATAR Notes account. You probably already have one, but if you don't, it takes about four seconds to sign up - and it's completely free!


Edit: typo